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 Process Server (WID/WPS/WAS+) » WESB Import with MQ: setting qname dynamially at runtime?

Post new topic  Reply to topic
 WESB Import with MQ: setting qname dynamially at runtime? « View previous topic :: View next topic » 
Author Message
andrew.stewart
PostPosted: Wed Jun 18, 2008 5:38 pm    Post subject: WESB Import with MQ: setting qname dynamially at runtime? Reply with quote

Newbie

Joined: 10 Apr 2008
Posts: 6

Hi all,

I have a Java component that accepts various messages and depending on message type, will route message to one of 4 queues. I currently have 4 imports attached to the Java component.

My question is, can I replace the 4 imports with a single import instead and dynamically set the destination queue name at runtime for the MQ binding? I can't seem to find anything in the documentation that describes how to do it.

thanks,

andrew.
Back to top
View user's profile Send private message
sourdas2
PostPosted: Tue Jul 08, 2008 1:15 pm    Post subject: Reply with quote

Voyager

Joined: 21 Apr 2006
Posts: 90
Location: Kolkata,India

Yes you can do it using callout node in mediation flow. You need to specify that the callout node is dynamic and thenyou can choose the qname from message header or from some where else.

For JMS binding the syntax is 'jms:/queue?destination=<destName>&connectionFactory=<factory>&targetservice=<service>'
_________________
Thanks and Warm Regards
Sourav
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » WESB Import with MQ: setting qname dynamially at runtime?
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.