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 » IBM MQ Java / JMS » Reading from a Remote Queue

Post new topic  Reply to topic
 Reading from a Remote Queue « View previous topic :: View next topic » 
Author Message
snehalkgandhi
PostPosted: Wed May 04, 2005 4:01 am    Post subject: Reading from a Remote Queue Reply with quote

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?

Regards
Snehal
Back to top
View user's profile Send private message Yahoo Messenger
clindsey
PostPosted: Wed May 04, 2005 4:10 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

You cannot read from a remote 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
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 04, 2005 4:30 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Reading from a Remote Queue
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.