Thanks Nick, 
Here is what I meant by my command:
Java MQsender <queueName> <QManagerName>

java MQSender remoteQueueName XMITQQName . ( note I my XMITQQName is the same as the 
destination Q Manager Name)

To simplify, I need to put a message on an XMITQ, the message should routed to a 
remote QueueManager with the same name as my XMITQ , but I'm getting 2085 when trying 
using java.

Thanks,
Hossam  

-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Nick
Dilauro
Sent: Monday, April 26, 2004 1:45 PM
To: [EMAIL PROTECTED]
Subject: Re: Qmanager Alias Definition?


You shouldn't put the XMITQName in the remoteQueueName.  You should populate
your sender routine with a queue name and qmgr name the same way you would
if the queue was a local queue.  The local qmgr will then find the xmitq and
route your message correctly.

Nick

-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of Khedr,
Hossam (GEI, MORT)
Sent: Monday, April 26, 2004 10:24 AM
To: [EMAIL PROTECTED]
Subject: Re: Qmanager Alias Definition?

Thanks,
I did try to put messages on an XMITQ that has the same name as the remote
QManager name. I used a java program MQSender.java to do it. so my java
command looked like : java MQSender remoteQueueName XMITQName(this is my
destination QMANGER Name too) . I got an error code 2085. what am I missing
( i.e. auth on the xmitQ, or is it  the way that I create QManager object
within the java program)

Thanks,
Hossam

-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Miller,
Dennis
Sent: Thursday, April 22, 2004 2:58 PM
To: [EMAIL PROTECTED]
Subject: Re: Qmanager Alias Definition?


First note, the qremote you describe is NOT a qmgr alias, nor do you
need one.  Client 2 can simply move ReplyToQManagerName to
ObjectQmgrNamr before opening the ReplyToQueue.  This causes client 2 to
place the message on the XMIT-Q by the same name as the
ReplyToQmanagerName.  You only need a qmgr alias when the desired
outbound xmitq has a different name.

If you prefer to use the qremote on client 2 instead of the method
described above, then RQUEUE must identify the replytoqueue. That
implies you cannot generate replytoqueue names dynamically.
Regards,
Dennis
-----Original Message-----
From: Khedr, Hossam (GEI, MORT) [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 9:48 AM
To: [EMAIL PROTECTED]
Subject: Qmanager Alias Definition?


Hi All,
We are in the process of testing the concept of QManager alias. One
scenario that comes to mind is :
1- QM-1 sends a request message to QM-2, The MQMD will include the
ReplyToQManagerName ( QM-1 in this case), and ReplyToQName ( Dynamic
Queue created by a client Application-1)
2- Client Application-2 listens on the Request Queue, process the
request, and puts back a response on QM-2 . Application-2 in this case
doesn't have any access to QM-1.
Question:
What is needed from the QM-2 Admin? In regards to Qmanager alias , XmitQ
, or other setup. We successfully ran the same scenario using remoteQ,
Xmitq , channels. however, when I tried to setup QManager alias, I got
the famous code 2085.

For more details on our current setup:
RemoteQ definition to act as QManager Alias : RQUEUE(QM-1.ALIAS)
XMITQ(QM-1) RQMNAME(QM-1)
XMiteQ definition: QLOCAL(QM-1) USAGE(XMITQ)
Channel : CHANNEL(QM-2.TO.QM-1) CHLTYPE(SDR) XMITQ(QM-1)
CONNNAME(sys1(1416))

Now the application-2 fires a command to put a response message to the
QM-1 with a Dynamic Queue Name ( in this case PUT message to DynamicQ on
QM-1.ALIAS).  What are we missing? Thanks in advance for your help,

> Hossam Khedr
> GE MI Canada
> Project Symphony
> Tel (905) 858-5248
> 8*250-5248
>
>
>

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to