Dave,

There are a few ways to do this.  Using remote queues at every hop as you
describe works just fine.  If the RNAME is specified, then you will be
changing the destination as the messages pass through the remote queue.  For
example, the message leaving QMA is addressed to [EMAIL PROTECTED] and the Remote
Queue definition changes the address to [EMAIL PROTECTED]

You can also do as Anthony Allison suggests in a different response and set
up XMitQs or QMgr Aliases such that routing resolves by QMgr until the final
QMgr is reached.  In this case, the message leaving QMA is addressed to
[EMAIL PROTECTED]  When it arrives on QMB it resolves to the XMitQ pointing to QMC.
By allowing the message to resolve at the QMgr level, you do not need a
QRemote for every possible destination.

This also allows you to hop through more then one intermediate QMgr.  You
could for example create a message on QMA addressed to [EMAIL PROTECTED] and
successfully hop it through QMB and QMC or any number of intermediaries so
long as each QMgr had a QMgr Alias for QMD that pointed to the next hop.

The trade-off is that QMgr resolution is automatic and convenient because it
requires fewer definitions.  However if external parties (a vendor perhaps)
are involved then using QRemotes, and specifically NOT allowing generic QMgr
routing, allows you to use OAM to control which internal destinations are
accessible to the third party.

HTH -- T.Rob



-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of David
Awerbuch
Sent: Thursday, June 17, 2004 12:09 PM
To: [EMAIL PROTECTED]
Subject: can a message multi-hop using remote queues?


Hello,

I am looking at a queue configuration that requires remote queue RQA on QMA
to
point to remote queue RQB on QMB that in turn points to local queue LQC on
QMC.

Has anyone done this sort of thing before, does it work as I expect it
would?
Will the message automatically hop from QMA to QMC?

Thanks,
Dave A.



=====
David A. Awerbuch,  IBM Certified MQSeries Specialist
APC Consulting Services, Inc.
Providing Automated Solutions to Business Challenges
West Hempstead, NY    (516) 481-6440
[EMAIL PROTECTED]

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