Sharing channels

As an application designer, you have the choice of forcing your applications to specify the remote queue manager name along with the queue name, or creating a remote queue definition for each remote queue. This definition holds the remote queue manager name, the queue name, and the name of the transmission queue. Either way, all messages from all applications addressing queues at the same remote location have their messages sent through the same transmission queue. This is shown in Figure 12.

Figure 12. Sharing a transmission queue
The figure shows message flow from a queue manager, QM1, to another queue manager, QM2. Remote queue definitions on QM1 enable QM1 to put messages to a remote queue manager. Messages are sent using the transmission queue on QM1.

Figure 12 illustrates that messages from multiple applications to multiple remote queues can use the same channel.