|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQReply and MsgId |
« View previous topic :: View next topic » |
Author |
Message
|
jsanchose |
Posted: Mon May 15, 2006 3:30 am Post subject: MQReply and MsgId |
|
|
Novice
Joined: 26 Apr 2006 Posts: 16
|
I need to make use of the MQReply Node.
I need to put my own MsgId but an automatic generated MsgId overwrite the value.
what can i do?.
Thanks. |
|
Back to top |
|
 |
Vitor |
Posted: Mon May 15, 2006 4:03 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Trying to generate your own msg id's is a commonly travelled road to the Land Of Pain.
I've yet to hear half a dozen plausable reasons why it should be done, and I didn't agree with any of them. It's like unqiue ids on a database; leave the system to do it. It's better, faster, more robust and you can rely on it.
Use a CorrelId for your reply like everyone else.... _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon May 15, 2006 11:57 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Don't use the MQReply node.
Use the MQOutput node and a distribution list of one item that is the replytoqueue. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jsanchose |
Posted: Tue May 16, 2006 1:24 am Post subject: |
|
|
Novice
Joined: 26 Apr 2006 Posts: 16
|
All right, it's the best solution (i think).
SET OutputLocalEnvironment.Destination.MQ.DestinationData1].queueName = OutputRoot.MQMD.ReplyToQ;
Thanks, thanks, thanks, Jef. |
|
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
|
|
|
|