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 » MQReply and MsgId

Post new topic  Reply to topic
 MQReply and MsgId « View previous topic :: View next topic » 
Author Message
jsanchose
PostPosted: Mon May 15, 2006 3:30 am    Post subject: MQReply and MsgId Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon May 15, 2006 4:03 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon May 15, 2006 11:57 am    Post subject: Reply with quote

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
View user's profile Send private message
jsanchose
PostPosted: Tue May 16, 2006 1:24 am    Post subject: Reply with quote

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
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 » MQReply and MsgId
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.