Posted: Mon Dec 01, 2008 9:32 pm Post subject: Qmanager Alias
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.
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
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