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 » How will MQ listener gets the Correlation id

Post new topic  Reply to topic
 How will MQ listener gets the Correlation id « View previous topic :: View next topic » 
Author Message
Mqlsn
PostPosted: Fri Aug 27, 2010 12:35 am    Post subject: How will MQ listener gets the Correlation id Reply with quote

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
View user's profile Send private message
Mr Butcher
PostPosted: Fri Aug 27, 2010 1:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Mqlsn
PostPosted: Fri Oct 22, 2010 3:07 am    Post subject: Reply with quote

Novice

Joined: 28 Jul 2010
Posts: 11

Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Oct 22, 2010 11:00 am    Post subject: Re: How will MQ listener gets the Correlation id Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » How will MQ listener gets the Correlation id
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.