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 » dynamic queue in jcn

Post new topic  Reply to topic
 dynamic queue in jcn « View previous topic :: View next topic » 
Author Message
maxmq
PostPosted: Wed Jan 26, 2011 9:28 am    Post subject: dynamic queue in jcn Reply with quote

Newbie

Joined: 18 Jan 2011
Posts: 3

i want to dynamically place the message into a queue based on the value of an xml tag in body..eg:
<emp>
<details>
<name>abc</name>
<id>1</id>
</details>
<emp>

i.e. if id is 1 then in q1 else in q2
plz help..i have to do this in java compute node.
thanks in advance!!!!
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jan 26, 2011 9:35 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You do the same thing you would do in ESQL - you set the right thing in the right part of the tree to control the queue that the MQOutput node will use.

Except you use the Java Broker API to set this value rather than ESQL.

It's very straight forward.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jan 26, 2011 9:39 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
You do the same thing you would do in ESQL - you set the right thing in the right part of the tree to control the queue that the MQOutput node will use.


And configure the MQOutput node accordingly of course.

mqjeff wrote:
It's very straight forward.




Still no sign of the training I recommeded here then?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
maxmq
PostPosted: Wed Jan 26, 2011 9:50 am    Post subject: Reply with quote

Newbie

Joined: 18 Jan 2011
Posts: 3

i am still learning...
a sample would be of great help
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jan 26, 2011 9:59 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

maxmq wrote:
i am still learning...


Learning is good. Training is better. Like I said, WMB is not simple.

maxmq wrote:
a sample would be of great help


Write it in ESQL, then think about how that translates into Java. Much as my associate indicated.

Think of it as a learning exercise.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » dynamic queue in jcn
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.