This guide describes the JMS transport configuration options
Name | Description |
---|---|
connectionFactory |
ConnectionFactory to use for obtaining JMS Connections |
transactionManager |
The Spring transaction manager to use |
|
Cache level as a number: 0 - CACHE_NONE, 1 - CACHE_CONNECTION, 2 - CACHE_SESSION, 3 - CACHE_CONSUMER, 4 - CACHE_AUTO |
|
Cache level as a String: none, connection, session, consumer, auto |
|
Number of concurrent sessions/consumers to start for each listener. Default is 1; keep concurrency limited to 1 in case of a topic listener or if queue ordering is important consider raising it for general queues |
|
Maximum concurrent consumers per listener |
|
Maximum messages per task |
|
Idle task execution limit |
|
Interval between recovery attempts |
|
Message selector |
|
Set to true for PubSub (i.e. Topics) else false (Queues) |
|
Whether to inhibit the delivery of messages published by its own connection |
|
Whether to make the subscription durable. The durable subscription name to be used can be specified through the "durableSubscriptionName" property |
|
Timeout to use for receive calls, in milliseconds. |
|
Transaction mode that is used when creating a JMS Session |
|
Transaction timeout to use for transactional wrapping, in seconds. Default is none, using the transaction manager’s default timeout |
|
Whether to accept received messages while the listener container is in the process |
destinationResolver |
DestinationResolver that is to be used to resolve Destination references for this accessor. The default resolver is a DynamicDestinationResolver. |
exceptionListener |
JMS ExceptionListener to notify in case of a JMSException thrown by the registered message listener or the invocation infrastructure |
Name | Description |
---|---|
template |
JMSTemplate to use to send JMS messages |
metaInfoPopulator |
Provide a custom meta information populator which is JMS provider specific (includes one for ActiveMQ broker URL insertion as a message property) |
Name | Description |
---|---|
ultra.jms.destination |
The name of the JMS Destination to read request (i.e. Incoming) messages from |
ultra.jms.reply_destination |
The name of the JMS Destination to read response (i.e. Outgoing) messages from |
Any of the standard Spring framework MessageListener attributes marked with above.
Constant JMSConstants. | Value | Description |
---|---|---|
MESSAGE_TYPE |
ultra.jms.message_type |
Message property used to express the JMS message type to be set when sending a message |
BYTES_MESSAGE |
bytes_message |
|
TEXT_MESSAGE |
text_message |
|
MAP_MESSAGE |
map_message |
|
OBJECT_MESSAGE |
object_message |
|
STREAM_MESSAGE |
stream_message |
|
DESTINATION_TYPE |
ultra.jms.destination_type |
Message property key indicating the destination type for the DESTINATION used for sending, i.e. "queue" or "topic" |
REPLY_TO_TYPE |
ultra.jms.reply_to_type |
message property key indicating the destination type for the REPLY_TO destination, i.e. "queue" or "topic" |
SENT_MESSAGE_ID |
ultra.jms.sent_message_id |
Message property key indicating the "sent" JMS message id assigned by the JMS provider on send |
PROVIDER_URL |
ultra.jms.provider_url |
The transport header indicating the provider URL actually used by the transport when sending a message |
PAYLOAD_SIZE |
ultra.jms.payload_size |
Payload size of a sent message |
Constant JMSConstants. | Value | Description |
---|---|---|
DESTINATION |
ultra.jms.destination |
Transport header indicating the JMS destination name of the message |
REPLY_DESTINATION |
ultra.jms.reply_destination |
Transport header indicating the JMS reply destination name for the message |
DELIVERY_MODE |
ultra.jms.delivery_mode |
Transport header indicating the JMS delivery mode set, or to be set; as an Integer: 1 - NON_PERSISTENT, 2 - PERSISTENT |
EXPIRATION |
ultra.jms.expiration |
Transport header indicating the JMS expiration time set or to be set, on the message |
REDELIVERED |
ultra.jms.redelivered |
Transport header indicating the message as a re-delivery |
REPLY_TO |
ultra.jms.reply_to |
Transport header indicating the JMS reply destination name for the message |
TIMESTAMP |
ultra.jms.timestamp |
Transport header indicating the message timestamp set or required to be set |
TYPE |
ultra.jms.type |
Transport header indicating the message type identifier supplied by the client when the message was sent - Message.getJMSType() |
PRIORITY |
ultra.jms.priority |
Transport header indicating the JMS priority |
CORRELATION_ID |
ultra.jms.correlation_id |
Transport header indicating the JMS correlation id |
MESSAGE_ID |
ultra.jms.message_id |
Transport header indicating the JMS message id |