...
Div |
---|
class | confluenceTableSmall |
---|
|
Option | Required | Default Value | Description |
---|
connectionCount
| | 1
| The maximum number of connections available to endpoints started under this component | connectionFactory
| ![(tick)](/confluence/s/34gb19/8804/10mvnxf/_/images/icons/emoticons/check.svg)
| null
| A ConnectionFactory is required to enable the SjmsComponent. It can be set directly or set set as part of a ConnectionResource. | connectionResource
| | null
| A ConnectionResource is an interface that allows for customization and container control of the ConnectionFactory. See Plugable Connection Resource Management for further details. | headerFilterStrategy
| | DefaultJmsKeyFormatStrategy
| | keyFormatStrategy
| | DefaultJmsKeyFormatStrategy
| | transactionCommitStrategy
| | null
| | DestinationCreationStrategy | | DefaultDestinationCreationStrategy | Since Camel 2.15.0: Support to set the custom DestinationCreationStrategy on the SJMS Component. |
|
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.
...