|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Setting the outgoing MQMD MsgId in a Java plugin node |
« View previous topic :: View next topic » |
Author |
Message
|
martin |
Posted: Mon Nov 11, 2002 11:01 am Post subject: Setting the outgoing MQMD MsgId in a Java plugin node |
|
|
Novice
Joined: 09 Aug 2001 Posts: 17 Location: Charlotte, NC
|
Using MQI 2.1 Win, with a Java Plugin Node, setting the MQMD MsgID field on an outgoing message appears to have no affect even when the associated MQOutput node has "Generate New MsgID" unchecked. When the message hits the queue, a different MsgId appears.
I am familiar with the MQSeries Java JMS classes. With them, there is a method to set the Message ID, but it is just for fun, as it is always overriden with another value when a message is sent out. Is something like that going on here with the MQI java nodes?
As usual, there is the possiblity that I am misinterpreting the behaviour of my code.
thanks for any ideas, |
|
Back to top |
|
 |
martin |
Posted: Tue Nov 12, 2002 6:24 am Post subject: |
|
|
Novice
Joined: 09 Aug 2001 Posts: 17 Location: Charlotte, NC
|
Sorry, I want to replace the above question with a slightly different question.
Now, I don't want to set the MsgId, I just want to use the same message ID that was in the incomming message. But still it seems to assign a new messageID even when the MQOutput node has not been set to do that. Here are my steps:
1. make a new Message based on the incomming message
2. detach the element under /XML and create what I need there
3. create a new assemly based on the input assembly and the new message
4. propagate to the MQOutput node with settings:
New Message ID: unchecked
Message Context: Pass All
thanks for any ideas, |
|
Back to top |
|
 |
martin |
Posted: Tue Nov 12, 2002 7:55 am Post subject: |
|
|
Novice
Joined: 09 Aug 2001 Posts: 17 Location: Charlotte, NC
|
I have found by using a trace node that the MQOutput node will change the MsgId value until I uncheck Request on the Request Tab.
Do I have to send a datagram to leave the MsgId unaltered?
thanks, |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|