Show TOC

Configuring a Queuing System for JMS AdapterLocate this document in the navigation structure

To use the JMS adapters, configure the queuing system with the naming server.

Prerequisites

Queuing systems that support JNDI naming servers.

Context

Procedure

  1. Set up a naming server.
    Some queuing systems contain internal naming servers that could connect to JMS adapters.
  2. Set up the queuing system to use the naming server to administer JMS objects.
    For more information, consult the documentation provided with your third-party queuing system.
  3. Obtain the JNDI context library and the URL to get to the naming server.
    Note To use the SAP Event Stream Processor Adapter for JMS to integrate or communicate with TIBCO Enterprise Message Services, you must have a valid license for TIBCO Enterprise Message Services from TIBCO or from an authorized TIBCO channel.
    For example, for Apache Active MQ, these are org.apache.activemq.jndi.ActiveMQInitialContextFactory and tcp://localhost:61616.
  4. Set the jndiContextFactory and jndiURL properties for the JMS adapter.
  5. Obtain the name that the JMS connection factory is bound by.
  6. Set the connectionFactory property to this name for the adapter.
  7. Ensure that appropriate JNDI and JMS factory classes are in the Java class path.
    Note For adapters developed using the adapter toolkit (JMS CSV, JMS Object, and JMS Event XML) you do not need to configure the JNDI and JMS factory classes as long as the adapter is compatible with the ActiveMQ libraries. If the adapter uses factory classes that are not compatible with ActiveMQ, place the vendor specific JMS jar files in the $STREAMING_HOME/adapters/framework/libj folder and restart the ESP Server.