Page edited by Scott England-Sullivan
Available as of Camel 2.11
The SJMS Component is a JMS client for Camel based purely on the JMS API. It will be released as part of Camel 2.11 with the following functionality:
Maven users will need to add the following dependency to their pom.xml for this component:
Where destinationName is a JMS queue or topic name. By default, the destinationName is interpreted as a queue name. For example, to connect to the queue, FOO.BAR use:
You can include the optional queue: prefix, if you prefer:
To connect to a topic, you must include the topic: prefix. For example, to connect to the topic, Stocks.Prices, use:
You append query options to the URI using the following format, ?option=value&option=value&...
Below is an example of how to configure the SjmsComponent with its required ConnectionFactory provider. It will create a single connection by default and store it using the components internal pooling APIs to ensure that it is able to service Session creation requests in a thread safe manner.
For a SjmsComponent that is required to support a durable subscription, you can override the default ConnectionFactoryResource instance and set the clientId property.
The SjmsProducer Endpoint supports the following properties:
The InOnly Producer is the default behavior of the SJMS Producer Endpoint.
To enable InOut behavior with the
There is currently no support the Camel Transaction Processor nor does it support the Camel Transaction API.
|Powered by Nabble||Edit this page|