Connecting to your broker using WebSphere MQ

 

This section applies to a WebSphere MQ Publish/Subscribe broker or a broker of WebSphere MQ Integrator. It also applies to a broker of WebSphere MQ Event Broker, WebSphere Business Integration Event Broker, or WebSphere Business Integration Message Broker if you choose to connect to the broker using WebSphere MQ.

Each broker requires its own queue manager. Refer to the broker's documentation regarding installation and setup.

For the WebSphere MQ JMS publish/subscribe implementation to work correctly, a number of system queues must be created on the queue manager on which the broker is running. Create these message queues on each queue manager for each broker you want to run WebSphere MQ JMS. WebSphere MQ JMS provides a script that creates these queues (see Create the WebSphere MQ JMS system queues).

Run the script to create the system queues. If you are using the WebSphere MQ Publish/Subscribe broker, your broker is now fully configured. To check that the broker is correctly configured, run the publish/subscribe verification as described in Publish/subscribe verification without JNDI.

If you are using a broker of WebSphere MQ Integrator, WebSphere MQ Event Broker, WebSphere Business Integration Event Broker, or WebSphere Business Integration Message Broker, configure a publish/subscribe message flow in the broker for messages to be correctly routed. The method for creating the required message flow is similar in both cases. Refer to Connecting to other products for details.


uj24640_