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 » Single queue with two different flows and messages.

Post new topic  Reply to topic
 Single queue with two different flows and messages. « View previous topic :: View next topic » 
Author Message
Yash
PostPosted: Thu Oct 10, 2002 3:59 am    Post subject: Single queue with two different flows and messages. Reply with quote

Novice

Joined: 26 Sep 2002
Posts: 24

Hai,
I have a situation here, where I have a single queue which holds two different messages and I have two different message flows which are taking input from this single queue. I want to know, how will the flows decide which message to take as input message.

Thanks,
_________________
Yash
Back to top
View user's profile Send private message
wmqiguy
PostPosted: Thu Oct 10, 2002 4:11 am    Post subject: Reply with quote

Centurion

Joined: 09 Oct 2002
Posts: 145
Location: Florida

The short answer is they won't.

You essentially have two choices:

1. Create two queues...one for each message type or;
2. Create a single flow and then make a decision about which of your two original flows to send it to (which are now subflows). This decision can be based on MQRFH2, whether a certain XML field exists, etc.

Good Luck!
Back to top
View user's profile Send private message
lillo
PostPosted: Thu Oct 10, 2002 4:59 am    Post subject: Reply with quote

Master

Joined: 11 Sep 2001
Posts: 224

Hi,

There is another possibility. If your application set the correlID, or MsgId, to a specific value for each of the message flows then in the MQInput node you could select in the advanced tab Match CorrelId o Match MsgId.
With this you will use only one queue and the messages will be picked up by the correct message flow.

Without this you can´t garantee which message flow will take the message out of the queue.

I hope this help you.

Cheers,
_________________
Lillo
IBM Certified Specialist - WebSphere MQ
Back to top
View user's profile Send private message
suji
PostPosted: Thu Oct 10, 2002 6:29 am    Post subject: Reply with quote

Newbie

Joined: 10 Oct 2002
Posts: 2

Lillo,

Can you tell me where I can find more information about this topic.
Thanks
Back to top
View user's profile Send private message
lillo
PostPosted: Thu Oct 10, 2002 9:59 pm    Post subject: Reply with quote

Master

Joined: 11 Sep 2001
Posts: 224

For information about distributions lists you can see MQSeries Application Programming Guide to understand the concept and for information about setting the MQInput node refer to Appendix A on Using the Control Center.

If you need anymore help, please be more specific.

Cheers,
_________________
Lillo
IBM Certified Specialist - WebSphere MQ
Back to top
View user's profile Send private message
suji
PostPosted: Tue Oct 15, 2002 7:29 am    Post subject: Reply with quote

Newbie

Joined: 10 Oct 2002
Posts: 2

Lillo,
So the applications has to give a corelationalID and MessageID while sending the message to message flow.If the applications is not sending CorelationalID and MessageID then is there any way we can differentiate the messages.Because the application is not sending CorelationalID and MessageID.
Back to top
View user's profile Send private message
lillo
PostPosted: Tue Oct 15, 2002 8:23 am    Post subject: Reply with quote

Master

Joined: 11 Sep 2001
Posts: 224

Hi,

If the application can´t set the correlId or msgId to a specific value then the only way I can think of it is having a first message will which will route to the others message flows.

Tell me if you need more help. Pls be more specific and put the two message to see if there is another possibility.

Cheers,
_________________
Lillo
IBM Certified Specialist - WebSphere MQ
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 » Single queue with two different flows and messages.
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.