Posted: Wed May 04, 2005 4:01 am Post subject: Reading from a Remote Queue
Newbie
Joined: 20 Jan 2004 Posts: 4 Location: India
Hi,
We would like to read from the remote queue.
Eg:- We have MQ Server in System A which has queue manager, queue and channel defined.
An application program is running on the system B with no local queues defined. Is it possible to make the server queue as a local queue in the client end and try reading from the queue?
You can establish a client connection from the app on server B to the qmgr on server A which would then make A local to the app. Then it could read from the queue.
It would be much better to design your app to put replies on a queue on server B.
Charlie covered it pretty well. A queue is local to a particular queue manager, and applications are connected to particular queue managers.
If a queue is local to the queue manager that an application is connected to, then you can GET from it. If it is not local to that queue manager, then you can't. You can configure the MQ network to make sure that messages arrive on queues local to the application that needs them.
You can connect applications to queue managers either on the same machine (server connection) or across the network(client connection). _________________ I am *not* the model of the modern major general.
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