Class DynamicJmsTemplate
java.lang.Object
org.springframework.jms.support.JmsAccessor
org.springframework.jms.support.destination.JmsDestinationAccessor
org.springframework.jms.core.JmsTemplate
org.springframework.integration.jms.DynamicJmsTemplate
- All Implemented Interfaces:
InitializingBean
,JmsOperations
public class DynamicJmsTemplate extends JmsTemplate
- Since:
- 2.0.2
- Author:
- Mark Fisher, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.jms.support.destination.JmsDestinationAccessor
RECEIVE_TIMEOUT_INDEFINITE_WAIT, RECEIVE_TIMEOUT_NO_WAIT
-
Constructor Summary
Constructors Constructor Description DynamicJmsTemplate()
-
Method Summary
Modifier and Type Method Description int
getDeliveryMode()
int
getPriority()
long
getReceiveTimeout()
long
getTimeToLive()
void
setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
void
setReceiveTimeout(long receiveTimeout)
Methods inherited from class org.springframework.jms.core.JmsTemplate
browse, browse, browse, browseSelected, browseSelected, browseSelected, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, createBrowser, createConsumer, createProducer, doConvertFromMessage, doCreateProducer, doReceive, doReceive, doSend, doSend, doSendAndReceive, execute, execute, execute, execute, execute, getConnection, getDefaultDestination, getDefaultDestinationName, getDeliveryDelay, getMessageConverter, getSession, initDefaultStrategies, isExplicitQosEnabled, isMessageIdEnabled, isMessageTimestampEnabled, isPubSubNoLocal, isSessionLocallyTransacted, receive, receive, receive, receiveAndConvert, receiveAndConvert, receiveAndConvert, receiveSelected, receiveSelected, receiveSelected, receiveSelectedAndConvert, receiveSelectedAndConvert, receiveSelectedAndConvert, send, send, send, sendAndReceive, sendAndReceive, sendAndReceive, setDefaultDestination, setDefaultDestinationName, setDeliveryDelay, setDeliveryMode, setDeliveryPersistent, setExplicitQosEnabled, setMessageConverter, setMessageIdEnabled, setMessageTimestampEnabled, setPriority, setPubSubNoLocal, setQosSettings, setTimeToLive
Methods inherited from class org.springframework.jms.support.destination.JmsDestinationAccessor
getDestinationResolver, isPubSubDomain, receiveFromConsumer, resolveDestinationName, setDestinationResolver, setPubSubDomain
Methods inherited from class org.springframework.jms.support.JmsAccessor
afterPropertiesSet, convertJmsAccessException, createConnection, createSession, getConnectionFactory, getSessionAcknowledgeMode, isClientAcknowledge, isSessionTransacted, obtainConnectionFactory, setSessionAcknowledgeMode, setSessionAcknowledgeModeName, setSessionTransacted
-
Constructor Details
-
DynamicJmsTemplate
public DynamicJmsTemplate()
-
-
Method Details
-
setReceiveTimeout
public void setReceiveTimeout(long receiveTimeout)- Overrides:
setReceiveTimeout
in classJmsTemplate
-
setConnectionFactory
public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)- Overrides:
setConnectionFactory
in classJmsAccessor
-
getPriority
public int getPriority()- Overrides:
getPriority
in classJmsTemplate
-
getReceiveTimeout
public long getReceiveTimeout()- Overrides:
getReceiveTimeout
in classJmsTemplate
-
getDeliveryMode
public int getDeliveryMode()- Overrides:
getDeliveryMode
in classJmsTemplate
-
getTimeToLive
public long getTimeToLive()- Overrides:
getTimeToLive
in classJmsTemplate
-