Class DynamicJmsTemplate

All Implemented Interfaces:
InitializingBean, JmsOperations

public class DynamicJmsTemplate extends JmsTemplate
A JmsTemplate implementation used by JmsSendingMessageHandler for propagating QoS properties from the request message into the underlying producer.send(message, getDeliveryMode(), getPriority(), getTimeToLive()) API. Propagation is only applied when explicitQosEnabled is true.

Starting with version 5.0.8, a default value of the receive-timeout is -1 (no wait) for the CachingConnectionFactory and cacheConsumers, otherwise it is 1 second.

Since:
2.0.2
Author:
Mark Fisher, Artem Bilan