|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How will MQ listener gets the Correlation id |
« View previous topic :: View next topic » |
Author |
Message
|
Mqlsn |
Posted: Fri Aug 27, 2010 12:35 am Post subject: How will MQ listener gets the Correlation id |
|
|
Novice
Joined: 28 Jul 2010 Posts: 11
|
Hi,
My stored procedure is invoked by a MQ listner passing the message to the queue. Is there anyway to get the Correlation id of the message in the queue? I need to put the message back to a different queue with the same correlation id.
Thanks
Yamini.K |
|
Back to top |
|
 |
Mr Butcher |
Posted: Fri Aug 27, 2010 1:08 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
if you get a message from a queue you will have access to the MQMD holding the correlid.
if you put a message you can pass / set the correlid (needs proper security) , or let mq set the correlid for you.
if you let mq generate the correlid, it is returned to the application in the MQMD after the mqput.
now how does this correlate with your listner and stored procedure? what is the message flow exactly? not clear to me from your writing. _________________ Regards, Butcher |
|
Back to top |
|
 |
Mqlsn |
Posted: Fri Oct 22, 2010 3:07 am Post subject: |
|
|
Novice
Joined: 28 Jul 2010 Posts: 11
|
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Oct 22, 2010 11:00 am Post subject: Re: How will MQ listener gets the Correlation id |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Mqlsn wrote: |
Hi,
My stored procedure is invoked by a MQ listner passing the message to the queue. Is there anyway to get the Correlation id of the message in the queue? I need to put the message back to a different queue with the same correlation id.
Thanks
Yamini.K |
It would probably help a bit if you specified which API and programing language you are using, as well as the version of WMQ...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|