JMS Transport Guide

This guide describes the JMS transport configuration options

JMSTransportListener
Name Description

connectionFactory

ConnectionFactory to use for obtaining JMS Connections

transactionManager

The Spring transaction manager to use

information cacheLevel

Cache level as a number: 0 - CACHE_NONE, 1 - CACHE_CONNECTION, 2 - CACHE_SESSION, 3 - CACHE_CONSUMER, 4 - CACHE_AUTO

information cacheLevelName

Cache level as a String: none, connection, session, consumer, auto

information concurrentConsumers

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

information maxConcurrentConsumers

Maximum concurrent consumers per listener

information maxMessagesPerTask

Maximum messages per task

information idleTaskExecutionLimit

Idle task execution limit

information recoveryInterval

Interval between recovery attempts

information messageSelector

Message selector

information pubSubDomain

Set to true for PubSub (i.e. Topics) else false (Queues)

information pubSubNoLocal

Whether to inhibit the delivery of messages published by its own connection

information subscriptionDurable

Whether to make the subscription durable. The durable subscription name to be used can be specified through the "durableSubscriptionName" property

information receiveTimeout

Timeout to use for receive calls, in milliseconds.

information sessionTransacted

Transaction mode that is used when creating a JMS Session

information transactionTimeout

Transaction timeout to use for transactional wrapping, in seconds. Default is none, using the transaction manager’s default timeout

information acceptMessagesWhileStopping

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

JMSTransportSender
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)

Transport Binding Properties for Proxy Services
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 information above.

Message Properties
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

Transport Headers
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

In this topic
In this topic
Contact Us