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
- 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
Fields inherited from class org.springframework.jms.support.JmsAccessor
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
long
long
void
setConnectionFactory
(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, setObservationRegistry, 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
- 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
-