|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Qmanager Aliases |
« View previous topic :: View next topic » |
Author |
Message
|
PeterPotkay |
Posted: Wed Jul 13, 2005 4:42 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7723
|
OK, still don't really catch what you are trying to accomplish, but anyway, what if you try this:
Code: |
Display a Remote Queue
Queue name . . . . . . . . . ALIAS
Remote name . . . . . . . . :
Remote queue manager . . . : BTN1
Transmission queue . . . . : BTN1
|
_________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jul 13, 2005 4:57 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20763 Location: LI,NY
|
Peter
This would mean that any message addressed to QMGR "ALIAS" is going to qmgr BTN1.
Usually my qmgr aliases look like:
def qr('BTN1') rqmname('BTN1') XMITQ('TO.BTN1')
This will allow default routing to BTN1 even though there is no transmission queue called BTN1.
Enjoy  |
|
Back to top |
|
 |
wschutz |
Posted: Wed Jul 13, 2005 5:23 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
But a remote q def can't point to anything other than a local queue, so if an xmitq is specified on the TC.TEST definition, that must be a local xmitq queue, if not, then there must be a local xmitq which matches the rqmname name (ALIAS). I don't think ALIAS can be a qremote itself.
(see ch 8 in the apg.) _________________ -wayne |
|
Back to top |
|
 |
crossland |
Posted: Thu Jul 14, 2005 2:49 am Post subject: |
|
|
Master
Joined: 26 Jun 2001 Posts: 248
|
except you can't have a local queue with the same name as a remote queue. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Jul 14, 2005 3:06 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
except you can't have a local queue with the same name as a remote queue. |
Yes, you're correct... the name of the remote queue would be TC.TEST and the name of the local (xmitq) queue would be ALIAS (or whatever xmitq was named in TC.TEST's definition).
What I'm saying is that ALIAS (or the xmitq) cannot also be a qremote definition. _________________ -wayne |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|