Home

 

Use different channels

 

If you have messages of different types to send between two queue managers, we can define more than one channel between the two. There are times when we need alternative channels, perhaps for security purposes, or to trade off delivery speed against sheer bulk of message traffic.

To set up a second channel we need to define another channel and another transmission queue, and create a remote queue definition specifying the location and the transmission queue name. Your applications can then use either channel but the messages will still be delivered to the same target queues. This is shown in Figure 1.

Figure 1. Using multiple channels

When you use remote queue definitions to specify a transmission queue, your applications must not specify the location (that is, the destination queue manager) themselves. If they do, the queue manager will not make use of the remote queue definitions. Remote queue definitions make the location of queues and the transmission queue transparent to applications. Applications can put messages to a logical queue without knowing where the queue is located and we can alter the physical queue without having to change your applications.

 

Parent topic:

How to get to the remote queue manager


ic10470_


 

Home