|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
link messages in different queues |
« View previous topic :: View next topic » |
Author |
Message
|
nganeshp |
Posted: Fri Sep 17, 2004 9:41 am Post subject: link messages in different queues |
|
|
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 |
|
 |
kirani |
Posted: Fri Sep 17, 2004 1:29 pm Post subject: |
|
|
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 |
|
 |
nganeshp |
Posted: Sat Sep 18, 2004 4:57 am Post subject: |
|
|
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 |
|
 |
kirani |
Posted: Sat Sep 18, 2004 1:54 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|