How to preserve the original JMSMessageID of JMSMessage posted to a JMSGateway ?
Issue
- In our ESB system we read from
WebSphereMQ
messages, do something with them, and then putting the result in a different queue, where it is picked up again by another system (beyond our control).
The problem we are currently having is that the other system requires specificMessageID
andCorrelationID
to see that it is expecting those messages, namely, theMessageID
andCorrelationID
as before the Gateway. Now, at the earliest possible moment where I can put in an action, theMessageID
andCorrelationID
are changed. - How do we preserve the
JMSMessageID
andJMSCorrelationID
?
Environment
- JBoss Enterprise Service Oriented Architecture Platform (SOA-P)
- 4.3.0.GA_CP02
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.