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 » Retrieve a particular message in a flow.

Post new topic  Reply to topic
 Retrieve a particular message in a flow. « View previous topic :: View next topic » 
Author Message
vgollakota
PostPosted: Wed Oct 03, 2007 2:03 am    Post subject: Retrieve a particular message in a flow. Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Oct 03, 2007 2:11 am    Post subject: Re: Retrieve a particular message in a flow. Reply with quote

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
View user's profile Send private message
vgollakota
PostPosted: Wed Oct 03, 2007 3:28 am    Post subject: Re: Retrieve a particular message in a flow. Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Oct 03, 2007 3:31 am    Post subject: Reply with quote

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

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Retrieve a particular message in a flow.
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.