You do not need to create remote queue definition to send a msg to a remote qmgr.
Create a xmitq with the same name as the remote qmgr.
When calling MQOPEN set:
MQObjectName = remote queue name
MQObjectQMgrName = remote qmgr name
The msg will be routed to the remote qmgr without needing a remote queue definition. See row 10 of Table 2, Resolving queue names when using MQOPEN, in the APG. _________________ MQSeries.net helps those who help themselves..
Joined: 15 Oct 2004 Posts: 215 Location: Basingstoke, UK
Bear in mind that your application will always be tied to that queue on that queue manager. You will need to change your application config to put to a different queue. Using remote queues or clustering will prevent the need to alter the application configuration. _________________ Keith Guttridge
-----------------
Using MQ since 1995
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