ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Correlating MQ message via JMS using JMSCorrealtionId

Post new topic  Reply to topic
 Correlating MQ message via JMS using JMSCorrealtionId « View previous topic :: View next topic » 
Author Message
jay_green4
PostPosted: Tue Nov 11, 2003 9:39 am    Post subject: Correlating MQ message via JMS using JMSCorrealtionId Reply with quote

Newbie

Joined: 11 Nov 2003
Posts: 7
Location: UK

Hi,

I've written a JMS application to send a message to an MQ and select it straight back off the MQ via JMS using a selector (it's just an investigation so doesn't make much sense I know!). I did this by setting the JMSCorrelationId on the outgoing message & selecting on this in the return. I couldn't get this to work at first but I found a post on another support site that had some code to set up a selector based on the hex value of the correlationId returned from MQ. This now works. I still don't understand why though? Can anyone help? Is it because this is the MQMD value of the correlation ID?

If so can anyone point me in the direction to help me understand how to return the MQRFH2 header back with my message? (Can I then select on the correlationId as the original value I set & not the hex converted value?).

Hope this makes sense? It's confusing me!

Any pointers would be really appreciated.

Cheers,

Jay.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Correlating MQ message via JMS using JMSCorrealtionId
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.