Jump to: navigation, search

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

  1. Start WebSphere MQ Explorer. Find the Object tree in the Navigator window.
  2. 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.
  3. As the Object tree is updated, find the Queues node under the new Queue Manager. Right-click this node and select New > Local Queue.
  4. Create Local Queues named mq_inbound, mq_notifications, mq_errors and mq_processed. Select Persistent for the Default Persistence setting.
  5. With the Queues node selected in the Object tree, right-click mq_inbound in 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.
  6. 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.
  7. 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.
  8. Right-click Connection Factories and select New > Connection Factory. Enter or select the following values:
    1. Sample name—my_ConnFactory
    2. Messaging provider—WebSphere MQ
    3. Transport—MQ Client
    4. Base queue manager and Broker queue manager (last screen)—The Queue Manager that you created in Step 2.
    5. Host name and port—Correct values for your environment
  9. Right-click Destinations and select New > Destination and create four new Destinations that correspond to the queues that you created in Step 4:
    1. Type—Queue
    2. Names—jms-inbound, jms-errors, jms-notifications, and jms-processed.
    3. On the last screen, select the proper Queue Manager and Queue objects.
  10. Find the file named .bindings at the location established in Step 6. It will be referred to later on the sample configuration.

End

Next Steps

Configure the JMS Capture Point Application object.

This page was last edited on June 19, 2020, at 12:36.
Comments or questions about this documentation? Contact us for support!