The way this is generally done is to copy the incoming ReplyToQ to the
ObjectName of the Object Descriptor, and ReplyToQMgr to the ObjectQMgrName
of the OD. Then do your MQPUT1. MQ will put the message on the transmit
queue with the same name as the ObjectQMgrName. What's in the RTQ and RTQM
of the reply is immaterial to MQSeries; it doesn't use them to route the
message.

Your application will need +put authority to the transmit queue, which can
be considered to be an exposure.




                      Jeff A Tressler
                      <[EMAIL PROTECTED]        To:       [EMAIL PROTECTED]
                      >                        cc:
                      Sent by: MQSeries        Subject:  Request / Reply
                      List
                      <[EMAIL PROTECTED]
                      n.ac.at>


                      03/15/2004 02:27
                      PM
                      Please respond to
                      MQSeries List






I understand the theory of Request/Reply with respect to
ReplyToQueue and ReplyToQueueManager. But how do
I set this up to actually work.

We have 5 systems sending to a single server. All connection
use Sender./Receiver channels so no client connections.

I believe I set up a transmission queue for each of the five
sites. The name of the transmission queues are the same
as the name of the destination queue managers.

What I believe will happen is the application copies the
ReplyToQeue and ReplyToQueueManager from the
message that arrives to the ReplyToQeue and
ReplyToQueueManager of the Reply message.

It sets the MessageType to MQMT_REPLY ...

And here is where I get lost. They need to open a queue
but the ReplyToQueue does not exist on the server, only
a transmission queue named for the destination queue
manager.

Do I use MQPUT1 and hope MQSeries resolves the open to
the correct transmission queue?

I cannot use remote queues or alias since the destination
queue is the same name for all five sites, so how do I
set things up so it resolves correctly.

            Jeff Tressler

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to