Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Body of a JMS notification. Any JS7 - Notification - Configuration, Monitor Variables can be used with the body.

Example for Apache ActiveMQ

Configuration

For use with Apache ActiveMQ a JMSFragment configuration can look like this:

Code Block
languagetext
titleExample: JMSFragment Configuration
<JMSFragment acknowledge_mode="Session.CLIENT_ACKNOWLEDGE" delivery_mode="DeliveryMode.PERSISTENT" destination="Queue" destination_name="js7" name="js7_on_failure" priority="4" time_to_live="0">
    <MessageRef ref="command_on_failure"/>
    <ConnectionFactory java_class="org.apache.activemq.ActiveMQConnectionFactory" password="admin" user_name="admin">
        <ConstructorArguments>
            <Argument type="java.lang.String"><![CDATA[tcp://activemq-5-15:61616]]></Argument>
        </ConstructorArguments>
    </ConnectionFactory>
</JMSFragment>

Client Libraries

The JS7 does not ship with client libraries for specific JMS server products such as Apache ActiveMQ, Apache Kafka and others.

Instead, users have to provide a version of the libraries that match their JMS server product.