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 » One Input with multiple output queues

Post new topic  Reply to topic
 One Input with multiple output queues « View previous topic :: View next topic » 
Author Message
LH33
PostPosted: Mon Feb 09, 2004 6:19 am    Post subject: One Input with multiple output queues Reply with quote

Master

Joined: 21 Nov 2002
Posts: 200

I have a message flow that has one input node that accepts transactions from a system. Based on the value of one of the tags coming in on input, I need to format another transaction and write to a separate queue.

For example, if I have transaction 1 come in with a value of "A" in a tag, then I want that mesage to go to queue 1. If another transaction comes in with a value of "B" in the tag, then I want that message to go to queue 2.

I have 5 different values possible so I would need to be able to send a message to five different queues.

Can someone help me understand how to code this?

Thanks!! Lisa


Last edited by LH33 on Mon Feb 09, 2004 9:07 am; edited 1 time in total
Back to top
View user's profile Send private message
MVO
PostPosted: Mon Feb 09, 2004 7:03 am    Post subject: Reply with quote

Centurion

Joined: 09 Sep 2001
Posts: 131

You will need to use either
1) 4 Filter nodes
or
2) RouteToLabel
to send your message to different destinations.
Back to top
View user's profile Send private message
LH33
PostPosted: Mon Feb 09, 2004 7:05 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2002
Posts: 200

I thought you could use Destination Lists also? I was trying to see if there are any examples of Destination Lists.

Thanks, Lisa
Back to top
View user's profile Send private message
MVO
PostPosted: Mon Feb 09, 2004 7:13 am    Post subject: Reply with quote

Centurion

Joined: 09 Sep 2001
Posts: 131

Oh yes, I almost forgot... sorry.

You can have a Compute node and set the DestinationList accordingly:

set OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueName=
case InputRoot.XML.tag
when 'A' then 'queue1'
when 'B' then 'queue2'
when 'C' then 'queue3'
when 'D' then 'queue4'
else 'queue5'
end;

Your MQOutput node shoud have "Destination Mode" set to "Destination List".

Good luck.
Back to top
View user's profile Send private message
Lisa
PostPosted: Mon Feb 09, 2004 8:33 am    Post subject: Route Reply with quote

Master

Joined: 07 Jun 2002
Posts: 287
Location: NJ

Lisa,
Take a look at support pac IC03. There is an example DestinationList exercise in there.

Lisa
Back to top
View user's profile Send private message Send e-mail
LH33
PostPosted: Mon Feb 09, 2004 8:34 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2002
Posts: 200

Lisa,

Thanks!!

Where would I find the support pac?

Lisa
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Feb 09, 2004 9:52 am    Post subject: Reply with quote

Jedi Knight

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

http://www-306.ibm.com/software/integration/support/supportpacs/individual/ic03.html
_________________
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 » One Input with multiple output 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.