Jump to: navigation, search

OpenMQ—JMS Capture Point Queues

This page provides an example of setting up queues for the JMS Capture Point using the OpenMQ provider.

Setting up queues with Open Message Queue Administration Console

Start

  1. Connect to the OpenMQ broker that is running.
  2. Add the following queues using the Add Broker Destination dialog: Inbound, Processed, Error, and Notification.
  3. For each queue that you have added, set Max Number of Producers and Max Number of Active Consumers to Unlimited.
  4. Add a new Object Store and set the following JNDI Naming Service Properties:
    1. Set java.naming.factory.initial to com.sun.jndi.fscontext.RefFSContextFactory.
    2. Set java.naming.provider.url to file:///D:/OpenMQExample.
    3. This is the directory in which the .bindings file containing definitions will be saved.

  5. Connect to the newly created object store.
  6. Add a connection factory object using the Add Connection Factory Object dialog:
    1. Specify the lookup name, such as ConnectionFactory.
    2. Specify the Factory Type as QueueConnectionFactory.
    3. In the Client Identification tab, specify the Default Username and Default Password (for example, guest/guest).
  7. Add destinations to the object store for all four queues that you defined previously:
    1. For the Inbound queue, specify the lookup name inbound and destination name Inbound.
    2. For the other queues, set the lookup names as processed, error, and notification.
    3. The lookup names can be different from the destination names.

  8. After the above steps have been completed, the folder D:/OpenMQExample/ contains the .bindings file with connection factory and queue definitions. Open the file, examine it for the presence of the defined queues and connection factory, and save it with File format set to UNIX so that it is possible to use it on UNIX operating systems.

End

Next Steps

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