Java Message Service (JMS) is a Java API that allows applications to create, send, receive, and read messages. This add-on provides a JMS 1.1 integration (a.k.a. JSR 914). It automatically manages connection factories, connections, sessions and message consumers/listeners while retaining the standard JMS API. Moreover connection and session try to reconnect automatically after a JMS connection failure.

JMS provider implementation is not provided by this add-on and must be configured depending on your messaging solution.

<dependency>
    <groupId>org.seedstack.addons.jms</groupId>
    <artifactId>jms-core</artifactId>
</dependency>
Show version
dependencies {
    compile("org.seedstack.addons.jms:jms-core:2.1.1")
}

The JMS specification jar dependency is required as well since Seed JMS support doesn’t transitively provide this dependency:

<dependency>
    <groupId>javax.jms</groupId>
    <artifactId>jms-api</artifactId>
    <version>1.1-rev-1</version>
    <scope>provided</scope>
</dependency>