WebSphereMQ-JMS CP Queues
This page provides an example of setting up queues for the JMS Capture Point when using IBM WebSphere MQ.
Setting up queues using IBM WebSphere MQ Explorer
- Start WebSphere MQ Explorer. Find the Object tree in the Navigator window.
- Right-click the Queue Managers node and select New to create a new Queue Manager. Follow the steps in the resulting Wizard, choosing a name (for example, my_QManager) and unique listening port.
- As the Object tree is updated, find the Queues node under the new Queue Manager. Right-click this node and select New> Local Queue.
- Create Local Queues named mq_inbound, mq_notifications, mq_errors, and mq_processed. Select Persistent for the Default Persistence setting.
- With the Queues node selected in the Object tree, right-click mq_inboundin the Content pane and select Put Test Message. Enter any text of your choice in the Message data field, then click Put message. This test message will wait in the queue until the capture point retrieves it.
- In the Object tree, right-click the JMS Administered Objects node and select Add Initial Context. Choose File system for the JNDI namespace location and select the directory where the corresponding storage file will be created.
- The new node for initial context now appears in the Object tree. Select it and verify that the Connection Factories and Destinations nodes appear under it. If necessary, right-click and use the context menu to connect to the InitialContext object make these nodes visible.
- Right-click Connection Factories and select New > Connection Factory. Enter or select the following values:
- Sample name—my_ConnFactory
- Messaging provider—WebSphere MQ
- Transport—MQ Client
- Base queue manager and Broker queue manager (last screen)—The Queue Manager that you created in Step 2.
- Host name and port—Correct values for your environment
- Right-click Destinations and select New > Destination and create four new Destinations that correspond to the queues that you created in Step 4:
- Type—Queue
- Names—jms-inbound, jms-errors, jms-notifications, and jms-processed.
- On the last screen, select the proper Queue Manager and Queue objects.
- Find the file named .bindings at the location established in Step 6. It will be referred to later on the sample configuration.
Next Steps
This page was last edited on June 19, 2020, at 14:27.
Comments or questions about this documentation? Contact us for support!