Just a second...

Running the JMS adapter

The JMS adapter is not enabled by default.

Running the JMS adapter within the Diffusion™ server

The JMS adapter can run within the Diffusion server, but is not enabled by default. To enable the JMS adapter within the Diffusion server, complete the following steps:
  1. Copy the adapters/jms/JMSAdapter.xml configuration file into the etc directory.
  2. Use the JMSAdapter.xml configuration file to define the JMS adapter behavior.

    For more information, see Configuring the JMS adapter.

  3. Use the Publishers.xml file to define and deploy the JMS adapter as a publisher on your Diffusion server:
    <publisher name="JMSAdapter">
      <class>com.pushtechnology.diffusion.adapters.jms.JMSAdapterPublisher</class>
      <enabled>true</enabled>
      <start>true</start>
    </publisher>
  4. Copy the adapters/jms/jmsadapter.jar file into the ext directory of your Diffusion server to ensure that it is on the Diffusion server classpath.
  5. Start or restart the Diffusion server.

Running the JMS adapter as a standalone client

The JMS adapter is a Java™ application. The adapter requires Oracle® Java Development Kit 8 (minimum update 1.8.0_131-b11).

To run the JMS adapter as a client, complete the following steps:
  1. To run the JMS adapter as a client on a different system to the Diffusion server, copy the following files from the Diffusion server system to the system where you want to locate the JMS adapter.
    • All files in the adapters/jms directory
    • The Diffusion Java client library: clients/java/diffusion-client.jar
    • The SLF4J JAR file: lib/thirdparty/slf4j-simple-1.7.21.jar
    • A SLF4J bindings JAR files. For example Log4J2, which is provided in the Diffusion installation: lib/thirdparty/log4j-*.jar
  2. Get the JAR file for the third-party JMS provider you use.
  3. Use the JMSAdapter.xml configuration file to define the JMS adapter behavior.

    For more information, see Configuring the JMS adapter.

  4. Edit the jms_adapter.sh or jms_adapter.bat file to include the path to the Diffusion Java client library, SLF4J, and the JMS provider JAR on the classpath.
  5. Use the jms_adapter.sh or jms_adapter.bat file to start the JMS adapter:
    jms_adapter.sh relative_path/JMSAdapter.xml