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 » Clustering » Qmanager Alias

Post new topic  Reply to topic
 Qmanager Alias « View previous topic :: View next topic » 
Author Message
chris boehnke
PostPosted: Mon Dec 01, 2008 9:32 pm    Post subject: Qmanager Alias Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

Hi All,

I have a very basic doubt with Queue Manager Alias.
I created two queues QM1 and QM2. created the queue manager alias QM2A for QM2 on QM1. I want to send messages to remote queue q2 on QM2.
I am trying to give

amqsput QM2A QM1

i am getting error 2184.
pls help me proceed further.


Thanks Chris
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Dec 01, 2008 11:15 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Although a QMGR Alias is a QRemote it is not a queue that you want to post to. It is a queue used for qmgr name resolution.
As an exemple:

Now using QM1 and QM2 try this:

On QM1:
DEF QL(TARGET)
DEF QR(REM.TARGET) RNAME(TARGET) RQMNAME(QM1A) XMITQ(QM2)
DEF QL(QM2) USAGE(XMITQ)
DEF CHL(QM1.TO.QM2) CHLTYPE(SDR) TRPTYPE(TCP).....(fill in the blanks)
DEF CHL(QM2.TO.QM1) CHLTYPE(RCVR) TRPTYPE(TCP)

On QM2:
DEF QR(QM1A) RNAME(' ') RQMNAME(QM1) XMITQ(QM1)
DEF QL(QM1) USAGE(XMITQ)
DEF CHL(QM2.TO.QM1) CHLTYPE(SDR) .....( fill in the blanks)
DEF CHL(QM1.TO.QM2) CHLTYPE(RCVR)...

After all this work put a message to queue REM.TARGET on QM1.
The message will go to QM2, find the qmgr alias and find its way back to queue TARGET on QM1.

For proof stop the sender channels and watch how the message travels. Note: this technique is also called multi-hopping and is described in detail in the intercommunications manual

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » Qmanager Alias
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.