MessagePerformanceUtils 是否适用于 Blazeds 中的 JMSAdapter?
我已在 blazeds services-config.xml 中为所有通道启用消息处理指标。当我使用 actionscript 适配器作为我的目标时,我会得到指标。但是,当我使用 JMS 适配器来消费消息时。我收到以下错误
Error: Message is missing MPI headers. Verify that all participants have it enabled.
at mx.messaging.messages::MessagePerformanceUtils()[E:\dev\4.x\frameworks\projects\rpc\src\mx\messaging\messages\MessagePerformanceUtils.as:118]
All mychannel are pre-configured in xml files with messageprocessingmetricsenabled 。我没有在运行时创建任何动态通道。
I have enabled the message processing metrics for all my channels in blazeds services-config.xml . I get the metrics when i use actionscript Adapter for my destination .But , when i use a JMS Adapter for consuming messages . i get the following error
Error: Message is missing MPI headers. Verify that all participants have it enabled.
at mx.messaging.messages::MessagePerformanceUtils()[E:\dev\4.x\frameworks\projects\rpc\src\mx\messaging\messages\MessagePerformanceUtils.as:118]
All my channels are pre-configured in xml files with message processing metrics enabled . i am not creating any dynamic channels at runtime .
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它可以工作,但您应该检查是否有人在您的 JMS 消息上设置性能标头。如果消息是由“参与者”在系统外部生成并推送到队列中,则无法在 Flex 端提取此信息。
Flex 客户端使用启用指标的通道生成并推送到 JMS 队列的消息应在标头中包含此信息。如果它不起作用,请创建一个可以重现此问题的工作测试用例,我会看一下。
It works, but you should check if someone is setting the performance headers on your JMS message. If the message is produced outside of your system by the "participant" and pushed in queue there is no way to extract this information on the Flex side.
The messages produced by a Flex client using metrics enabled channels and pushed to a JMS queue should have this information in the headers. If it does not work please create a working test case which can reproduce this problem and I'll take a look.