|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Retrieve a particular message in a flow. |
« View previous topic :: View next topic » |
Author |
Message
|
vgollakota |
Posted: Wed Oct 03, 2007 2:03 am Post subject: Retrieve a particular message in a flow. |
|
|
Apprentice
Joined: 19 Feb 2007 Posts: 37
|
In a certain flow, I need to retrieve a particular message.
For example,in a queue , I have 10 messages, I need to get 5th message in the middle of the flow. How can this be possible, Can this be possible by MQGET node, if so how...?? _________________ G.VANDANA |
|
Back to top |
|
 |
Vitor |
Posted: Wed Oct 03, 2007 2:11 am Post subject: Re: Retrieve a particular message in a flow. |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
vgollakota wrote: |
For example,in a queue , I have 10 messages, I need to get 5th message in the middle of the flow. How can this be possible, Can this be possible by MQGET node, if so how...?? |
How can you know, when the flow runs, that it's the 5th message?
Maybe someone's read off the first message, or the 3rd isn't committed?
Or have you got industrial strength message affinity in your design? If so, you really need to deal with that!
A better (I use the word guardedly) way is to use the MatchMsgId options to pick off the required message. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
vgollakota |
Posted: Wed Oct 03, 2007 3:28 am Post subject: Re: Retrieve a particular message in a flow. |
|
|
Apprentice
Joined: 19 Feb 2007 Posts: 37
|
Vitor wrote: |
vgollakota wrote: |
For example,in a queue , I have 10 messages, I need to get 5th message in the middle of the flow. How can this be possible, Can this be possible by MQGET node, if so how...?? |
How can you know, when the flow runs, that it's the 5th message?
Maybe someone's read off the first message, or the 3rd isn't committed?
Or have you got industrial strength message affinity in your design? If so, you really need to deal with that!
A better (I use the word guardedly) way is to use the MatchMsgId options to pick off the required message. |
Ok, it is possible in MQInput node to match a MsgId with particular unique value , but if i want to retrieve message in between the flow,that matches certain MsgID I am not able to do that,can u tell me how is it possible.....! _________________ G.VANDANA |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Oct 03, 2007 3:31 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can't use the MQGet node to read a message from the same queue that is fed from an MQInput.
You need to rethink this design some more. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|