Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MQQueue Manager and their relation with QueueListener and MQ Channel

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
Guy Leeds
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much .
 
Pramod Madisetti
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic