Message channel planning example for UNIX, Linux, and Windows
This section provides a detailed example of how to connect two queue managers together so that messages can be sent between them.
The example illustrates the preparations required to enable an application using queue manager QM1 to put messages on a queue at queue manager QM2. An application running on QM2 can retrieve these messages, and send responses to a reply queue on QM1.
The example illustrates the use of TCP/IP connections. The example assumes that channels are to be triggered to start when the first message arrives on the transmission queue they are servicing. We must start the channel initiator in order for triggering to work.
This example uses SYSTEM.CHANNEL.INITQ as the initiation queue. This queue is already defined by IBM MQ. We can use a different initiation queue, but we must define it ourselves and specify the name of the queue when we start the channel initiator.
Note: A message channel using TCP/IP can be pointed at an IBM Aspera fasp.io Gateway, which provides a fast TCP/IP tunnel that can significantly increase network throughput. See Defining an Aspera gateway connection on Linux or Windows.
- What the example for UNIX, Linux, and Windows shows
- Running the example for UNIX, Linux, and Windows
Parent topic: Configuration reference