Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.1.1
-
None
-
Windows XP
Description
The correlation id on a JMS message is not set correctly. It appears that this is occuring because the mesage id is not set on creation of the request message context (JMSMessageReceiver.createMessageContext). I added the following line of code and it appears to have fixed the problem.
private MessageContext createMessageContext(Message message) {
InputStream in = JMSUtils.getInputStream(message);
try {
MessageContext msgContext = new MessageContext();
.....
msgContext.getOptions().setMessageId(message.getJMSMessageID());