Joined: 07 Aug 2001 Posts: 1 Location: Bateaucraft
I hope this is simple but....
I am sending msgs to a remote queue definition with the MQRO_COA & MQRO_COD options set. My problem is with what to stick in the ReplyToQ and ReplyToQMgr fields of the MQMD.
It would seem that the only way to get report messages back to the "sending" QMgr is to create a sender channel and remote Q definiton on the Receiving QMgr and specify these in the ReplyTo* fields. I have tried various other combinations and get nothing (not even DLQ entries!!). Am I correct in my assumption or am I missing something...
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
When a message is put to a queue (any queue), if the ReplyToQMgr field in the MQMD is blank, it is completed with the queue manager name of the queue manager that the application was connected to that put the application to the queue. Rarely do you ever have to plugin a queue manager name.
The ReplyToQ should explicitly contain the name of the queue (local to the local queue manager) that the COA and COD responses should arrive in.
If the message is put to a remote queue, it is first put to the local XMIT queue to that remote queue manager (and hence has the local queue manager name plugged into the ReplyToQMgr).
When the messages is finally sent down the channel, the remote queue manager will attempt to send a messgae to the named ReplyToQ and ReplyToQMgr. In order for this to succeed, there must be a path back to the originating queue manager (a channel or membership in a cluster).
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