aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes MQQueue Manager and their relation with QueueListener and MQ Channel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "MQQueue Manager and their relation with QueueListener and MQ Channel" Watch "MQQueue Manager and their relation with QueueListener and MQ Channel" New topic
Author

MQQueue Manager and their relation with QueueListener and MQ Channel

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

As Queues reside on the MQQueueManager , please let me know what is the relation between MQ Listener , MQ Channel and MQQueueManager ??

Thanks in advance .


Save India From Corruption - Anna Hazare.
Guy Leeds
Greenhorn

Joined: Nov 06, 2003
Posts: 18
An extract from the 'IBM WebSphere MQ' entry in Wikipedia describes it well:



Communication between queue managers relies on a channel. Each queue manager uses one or more channels to send and receive data to other queue managers. A channel is uni-directional, a second channel is required to return data. In a TCP/IP based network, a channel will send or receive data on a specific port. A sending channel has a defined destination and is associated with a specific transmission queue, the mechanism by which messages are queued awaiting transmission on the channel; a receiving channel will receive data from any other queue manager with a sending channel of the same name. When a receiving channel receives a message, it is examined to see which queue manager and queue it is destined for. In the event of a communications failure, MQ can automatically re-establish a connection when the problem is resolved.

The "listener" has the function of detecting connections from incoming channels and manage the connection of the sending to the receiving channels. It is the application's network interface to the queue manager. In a TCP/IP network, the listener will "listen" for connections on a specific port.


http://en.wikipedia.org/wiki/IBM_WebSphere_MQ
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thanks very much Guy .

But can anyone please let me know what is the fuctionality of the Listsner in clear , i couldn't able to understand the below

The "listener" has the function of detecting connections from incoming channels and manage the connection of the sending to the receiving channels.
Guy Leeds
Greenhorn

Joined: Nov 06, 2003
Posts: 18
A listener ‘listens’ for incoming network requests and starts the associated receiver or server connection channels to allow the queue manager to receive messages.
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thank you very much .
Pramod Madisetti
Greenhorn

Joined: Mar 10, 2010
Posts: 1
MQ QManager is the profile which is used to run the instance of the MQ.
Qlistener is the object which listens to the Q which is created in the ActiveQManager.
MQchannel is the passage or the bus kind of a thing which is used for connecting two QManagers local or remote for interaction of messsages b/w its queues.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: MQQueue Manager and their relation with QueueListener and MQ Channel