简体   繁体   English

如何在HermesJMS中设置字段messageID

[英]How to set the field messageID in HermesJMS

I try to create & send JMS messages with HermesJMS to a queue but the field messageID isn't editable... 我尝试使用HermesJMS创建JMS消息并将其发送到队列,但是messageID字段不可编辑...

How can I set it ? 我该如何设置?

Screen shot: Creation of a new message in HermesJMS 屏幕快照:在HermesJMS中创建新消息

Thanks for your help. 谢谢你的帮助。

I found no solution to my problem... 我没有找到解决问题的办法...

So the best way to avoid using the default new JMS message feature of HermesJMS is to send a XML file of the JMS message... 因此,避免使用HermesJMS的默认新JMS消息功能的最佳方法是发送JMS消息的XML文件...

Afore that you need of course to write the XML file "by hand" and define all needed fields including among others things the messageId field :-) 在此之前,您当然需要“手动”编写XML文件并定义所有必需的字段,包括messageId字段:-)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM