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 » WMB : Destination List..

Post new topic  Reply to topic
 WMB : Destination List.. « View previous topic :: View next topic » 
Author Message
jugadu
PostPosted: Tue Mar 18, 2008 1:02 am    Post subject: WMB : Destination List.. Reply with quote

Apprentice

Joined: 04 Dec 2007
Posts: 30

Hi,
I am using sample flow like this.

MQInput ---> ComputeNode-->MQOuptput
I am using the Destination list for sending the message to the multiple Queues.
My concern is if i want to add a new queue name every time i have to change the code.....is it possible to include the other queue name , without modifying the ESQL code ? like using the UDP params.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Tue Mar 18, 2008 1:27 am    Post subject: Re: WMB : Destination List.. Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Without testing

IF udp_attr1 IS NOT NULL THEN
SET OutputLocalEnvironment.Destination.MQ.DestinationData[i++].queueName= udp_attr1;
END IF;

IF udp_attr2 IS NOT NULL THEN
SET OutputLocalEnvironment.Destination.MQ.DestinationData[i++].queueName= udp_attr2;
END IF;

IF udp_attr3 IS NOT NULL THEN
SET OutputLocalEnvironment.Destination.MQ.DestinationData[i++].queueName= udp_attr3;
END IF;

IF …


Where :

udp_attrX = udp parameters.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
AkankshA
PostPosted: Tue Mar 18, 2008 1:31 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

hmm.... i fear we can not..

you can if the total number of consumers getting the msg is fixed...

else how ll we define variable UDP
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
AkankshA
PostPosted: Tue Mar 18, 2008 1:33 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

one lil dirty logic is ..

have one UDP for destination list
separate all the destinations by some delimiter say ;

build env tree

and create destination list
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
jugadu
PostPosted: Tue Mar 18, 2008 2:49 am    Post subject: WMB : Destination List.. Reply with quote

Apprentice

Joined: 04 Dec 2007
Posts: 30

thanks for ur reply...

how can i use one UDP for destination List.......
Back to top
View user's profile Send private message
AkankshA
PostPosted: Tue Mar 18, 2008 2:52 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

as i mentioned earlier..

separate all the destinations by some delimiter say ; or ,

accept this in eSQL and extract each destination from the UDP

create destination list from the extracted destinations
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
jugadu
PostPosted: Tue Mar 18, 2008 3:04 am    Post subject: WMB : Destination List.. Reply with quote

Apprentice

Joined: 04 Dec 2007
Posts: 30

Thanks a lot...
i will try with this method......
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 » WMB : Destination List..
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.