Author |
Message
|
solomon_13000 |
Posted: Fri Jun 20, 2008 1:40 am Post subject: Gateway Queue Manager |
|
|
Master
Joined: 13 Jun 2008 Posts: 284
|
I have two queue manager which is Q1 and Q3. Now in between this two queue manager I intend to have another queue manager called Q2. Q1 will be the sender, Q2 will be my point of presence (POP) and Q3 will be the receiver. So Q2 will function like a gateway between Q1 and Q3. Now messages have to travel through Q2. In Q2 do I define a local queue and the transmission queue whereby the local queue will receive messages from Q1 and add the messages into the transmission queue, which will then be retrieved and send to the local queue defined in Q3. Is this logic correct?. |
|
Back to top |
|
 |
exerk |
Posted: Fri Jun 20, 2008 1:49 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Please read the Intercommunication Manual, which provides a more detailed explanation than can be given on this board. The manual describes multi-hop, which is presumably what you are attempting. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
vinbud117 |
Posted: Sat Jun 21, 2008 3:41 am Post subject: |
|
|
Acolyte
Joined: 22 Jul 2005 Posts: 61
|
Read about Qmanager alias.
On QM2 u need to define a REMOTEQ with RQM as QM3 and RQ as blank & transmission q as QM3 |
|
Back to top |
|
 |
exerk |
Posted: Sat Jun 21, 2008 6:02 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Q1
QREMOTE with RQNAME of the QLOCAL in Q3, and an RQMNAME of Q3.
XMITQ and SDR to Q2
Q2
RCVR from Q1
XMITQ and SDR to Q3, and the name of the XMITQ must be exactly the same as the Q3 queue manager name
Q3
RCVR from Q2
QLOCAL of the same name as the RQNAME specified in the QREMOTE in Q1
The above is the simplest form of multi-hop. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
solomon_13000 |
Posted: Sat Jun 21, 2008 9:10 am Post subject: |
|
|
Master
Joined: 13 Jun 2008 Posts: 284
|
Does this mean in Q2 I only define a Transmission Queue?. Why must the name of the XMITQ be exactly the same as the Q3 queue manager name? |
|
Back to top |
|
 |
exerk |
Posted: Sat Jun 21, 2008 10:46 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Quote: |
Why must the name of the XMITQ be exactly the same as the Q3 queue manager name? |
Because the receiving queue manager (Q2 in this case) extracts the RQMNAME from the message header, and looks for a 'reference' to that queue manager; that 'reference' matches to the XMITQ (Q3 in this case) and the message is placed on the XMITQ. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
AkankshA |
Posted: Sun Jun 22, 2008 8:26 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
Quote: |
Why must the name of the XMITQ be exactly the same as the Q3 queue manager name? |
Its not must but rather advised way to do things....
u can have transmission queue a different name then the remote queue manager..... but in that case u need to specify transmission queue name in each and every remote queue definition... _________________ Cheers |
|
Back to top |
|
 |
exerk |
Posted: Sun Jun 22, 2008 10:14 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
AkankshA wrote: |
Its not must but rather advised way to do things....
u can have transmission queue a different name then the remote queue manager..... but in that case u need to specify transmission queue name in each and every remote queue definition... |
In this case it is must as no QR is specified in Q2...sorry to be pedantic  _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jun 23, 2008 3:12 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
AkankshA wrote: |
Quote: |
Why must the name of the XMITQ be exactly the same as the Q3 queue manager name? |
Its not must but rather advised way to do things....
u can have transmission queue a different name then the remote queue manager..... but in that case u need to specify transmission queue name in each and every remote queue definition... |
You can still avoid creating a number of remote queues if you create a qmgr alias (see intercommunications manual)  _________________ MQ & Broker admin |
|
Back to top |
|
 |
solomon_13000 |
Posted: Sun Jun 29, 2008 1:05 am Post subject: |
|
|
Master
Joined: 13 Jun 2008 Posts: 284
|
I finally made it work  |
|
Back to top |
|
 |
|