Posted: Wed Jan 26, 2011 9:28 am Post subject: dynamic queue in jcn
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!!!!
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.
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.
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