2011年11月9日 星期三

MQ, Channel

What's the use of channels in queue manager? It's for communication between queue managers. This applies to the scenarios of clusters of queue managers.

"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."



Reference: http://en.wikipedia.org/wiki/IBM_WebSphere_MQ

沒有留言:

張貼留言