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 » WebSphere Message Broker (ACE) Support » link messages in different queues

Post new topic  Reply to topic
 link messages in different queues « View previous topic :: View next topic » 
Author Message
nganeshp
PostPosted: Fri Sep 17, 2004 9:41 am    Post subject: link messages in different queues Reply with quote

Novice

Joined: 17 Sep 2004
Posts: 18

Hi,

Can we link messages in different queues? i have a situation where i have different messages coming in two queues. each queue is linked with one message flows. only when the messages in the first queue is processed, the message in the second queue should be processed. how do i check whether the messages in the first queue is processed? is there any parameter that we can set in MQ series? or can we do it in MQSI? please help me on this. thanks
_________________
Hi
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Fri Sep 17, 2004 1:29 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

What is the common key between these messages? Can they be linked by CorrelId? If so, you can use MQGET in your second flow to get related message with a specific CorrelID.
I can explain in detail after you confirm whether the key can be set or not.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
nganeshp
PostPosted: Sat Sep 18, 2004 4:57 am    Post subject: Reply with quote

Novice

Joined: 17 Sep 2004
Posts: 18

hi kirani,

thanks for your reply.

Actually i need to differentiate this in MQSI esql coding and not in MQI programming. thats where i dont know how to do. can we do MQGET in esql coding? as far the messages are concerned, both are xml messages with different xml structures and they are not linked with any key.
_________________
Hi
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Sat Sep 18, 2004 1:54 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

You cannot make API calls within ESQL. You need to use MQGET node within your message flow to retrieve message from intermediate queue.

In your case you need to have some kind of common key between these two messages. For example, they can be related using the Correl-Id. In your message flow when you retrieve the message from queue1 you can then use the same correl-id in MQGet node to retrieve second message from queue2 and store it in a different tree. You can then process them together within same UOW.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

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

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » link messages in different queues
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.