骆驼消息ID是不同的路线转换流
在我的骆驼应用程序中,我试图从源AMQ队列(入口)发送一些转换(XMLTO JSON)到Target AMQ队列(出口)的消息,该消息已成功地从入口传输到出口。但是第一个消息ID是不同的,其余的全部在整个路线流中都是相同的。
以下是消息-IDS:
- :-1:-1:-1:-1 (不同)
- 消息ID:ID:DBF0F290-C7E2-11EC-B776-6EB51C0A3021:-1: -1 11EC-B776-6EB51C0A3021_-1_-1_-1_-1_-1 (相同)
- 消息ID:queue_inlet_id_id_id_dbf0f0f290-c7e2-11ec-b776-6eb51c0a30a3021c0a3021_-1_-1_-1_-1_-1_-1_-1_-1_-1_-1_-1_-1_-1_-1_-1_-1_-1_-1_-1 <强> /strong>
- 消息ID:QUEUE_INLET_ID_DBF0F290-C7E2-11EC-B776-6EB51C0A3021_-1_-1_-1_-1_-1_-1 (SALE)
任何人在此帮助我。
In my camel application, I am trying to send a message from the source AMQ Queue (INLET) doing some TRANSFORMATION(XMLTO JSON) to Target AMQ Queue (OUTLET) The message is successfully transferred from INLET to OUTLET. But the 1st Messages ID is different and the remaining all are the same in the entire route flow.
Below is the Message-IDs :
- Message ID :ID:dbf0f290-c7e2-11ec-b776-6eb51c0a3021:-1:-1:-1:-1 (DIFFERENT)
- Message ID :queue_INLET_ID_dbf0f290-c7e2-11ec-b776-6eb51c0a3021_-1_-1_-1_-1 (SAME)
- Message ID :queue_INLET_ID_dbf0f290-c7e2-11ec-b776-6eb51c0a3021_-1_-1_-1_-1 (SAME)
- Message ID :queue_INLET_ID_dbf0f290-c7e2-11ec-b776-6eb51c0a3021_-1_-1_-1_-1 (SAME)
Anyone help me on this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在使用 exchange.getin()。getMessageId()之前
,使用此 exchange.getExchangeId()//解决了我的问题
Before I used exchange.getIn().getMessageId()
After using this exchange.getExchangeId() //Solved my issue