Running the JMS adapter
The JMS adapter is not enabled by default.
The JMS adapter is a Java™ application. The adapter requires Java 8 (8u131-b11 GA or later) or Java 11 (11.0.3 GA or later).
To run the JMS adapter, complete the following steps:
- Copy the client JAR file for the third-party JMS provider into the adapters/jms directory within your Diffusion™ installation directory.
- Copy any required SLF4J binding JARs (for example slf4j-simple-1.7.30.jar) if not included in the JMS provider’s client JAR. Some SLF4J binding JARs are also available under lib/thirdparty/ in your installation directory. Add any necessary logging configuration file.
- Use the configuration.json configuration file to define the JMS adapter behaviour. For more information, see Configuring the JMS adapter.
- Edit the jms_adapter.sh or jms_adapter.bat file to include the path to the JMS provider client JAR and SLF4J JARs on the classpath.
- Run the jms_adapter.sh or jms_adapter.bat script with the relative path to configuration.json as an argument: jms_adapter.sh configuration.json