Implement the solution
Implement the solution to the scenario. Create two IBM MQ queue managers on two separate hosts, the source queue manager to send messages, and the target queue manager to receive messages.
Before starting
The starting point for this scenario is an existing, verified IBM MQ installation. For instructions to install IBM MQ, follow the steps in Installing an IBM MQ server on Windows.
Create two queue managers by using the command-line interface, define the required listeners, queues, and channels. The delivered logical topology shows the functions added by implementing the solution.
- Create the queue manager
Create an IBM MQ queue manager to send messages to the target queue manager. - Create the queues
Create IBM MQ queues that are managed by the IBM MQ queue manager. - Create the sender channel
Create the sender channel on the source queue manager, the channel is used to connect to the target queue manager. - Create the distributed queue manager topology
Point-to-point messaging is the simplest form of messaging in IBM MQ. In point-to-point messaging, the sending application must know certain information about the receiving application before messages can be sent. The sending application will require a way to address the remote queue. Use point-to-point messaging to send a message to a second queue manager with a sample application. - Verify the solution
Verify that the source queue manager can put a message onto the remote queue. Verify that the target queue manager can get the message from the queue.
Parent topic: Point-to-point scenario