ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Gateway Queue Manager

Post new topic  Reply to topic
 Gateway Queue Manager « View previous topic :: View next topic » 
Author Message
solomon_13000
PostPosted: Fri Jun 20, 2008 1:40 am    Post subject: Gateway Queue Manager Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Fri Jun 20, 2008 1:49 am    Post subject: Reply with quote

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
View user's profile Send private message
vinbud117
PostPosted: Sat Jun 21, 2008 3:41 am    Post subject: Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Sat Jun 21, 2008 6:02 am    Post subject: Reply with quote

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
View user's profile Send private message
solomon_13000
PostPosted: Sat Jun 21, 2008 9:10 am    Post subject: Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Sat Jun 21, 2008 10:46 am    Post subject: Reply with quote

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
View user's profile Send private message
AkankshA
PostPosted: Sun Jun 22, 2008 8:26 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
exerk
PostPosted: Sun Jun 22, 2008 10:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 23, 2008 3:12 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
solomon_13000
PostPosted: Sun Jun 29, 2008 1:05 am    Post subject: Reply with quote

Master

Joined: 13 Jun 2008
Posts: 284

I finally made it work
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Gateway Queue Manager
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.