Class JmsTemplateSpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,A>
org.springframework.integration.jms.dsl.JmsDestinationAccessorSpec<JmsTemplateSpec,DynamicJmsTemplate>
org.springframework.integration.jms.dsl.JmsTemplateSpec
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<DynamicJmsTemplate>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
public class JmsTemplateSpec extends JmsDestinationAccessorSpec<JmsTemplateSpec,DynamicJmsTemplate>
- Since:
- 5.0
- Author:
- Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
-
Constructor Summary
Constructors Modifier Constructor Description protected
JmsTemplateSpec()
-
Method Summary
Modifier and Type Method Description JmsTemplateSpec
deliveryPersistent(boolean deliveryPersistent)
JmsTemplateSpec
explicitQosEnabled(boolean explicitQosEnabled)
JmsTemplateSpec
jmsMessageConverter(MessageConverter messageConverter)
JmsTemplateSpec
priority(int priority)
May be overridden at run time by the message priority header.JmsTemplateSpec
receiveTimeout(long receiveTimeout)
JmsTemplateSpec
timeToLive(long timeToLive)
Methods inherited from class org.springframework.integration.jms.dsl.JmsDestinationAccessorSpec
connectionFactory, destinationResolver, id, pubSubDomain, sessionAcknowledgeMode, sessionAcknowledgeModeName, sessionTransacted
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
JmsTemplateSpec
protected JmsTemplateSpec()
-
-
Method Details
-
jmsMessageConverter
- Parameters:
messageConverter
- the messageConverter.- Returns:
- the spec.
- See Also:
JmsTemplate.setMessageConverter(MessageConverter)
-
deliveryPersistent
- Parameters:
deliveryPersistent
- the deliveryPersistent.- Returns:
- the spec.
- See Also:
JmsTemplate.setDeliveryPersistent(boolean)
-
explicitQosEnabled
- Parameters:
explicitQosEnabled
- the explicitQosEnabled.- Returns:
- the spec.
- See Also:
JmsTemplate.setExplicitQosEnabled(boolean)
-
priority
May be overridden at run time by the message priority header.- Parameters:
priority
- the priority.- Returns:
- the spec.
- See Also:
JmsTemplate.setPriority(int)
-
timeToLive
- Parameters:
timeToLive
- the timeToLive.- Returns:
- the spec.
- See Also:
JmsTemplate.setTimeToLive(long)
-
receiveTimeout
- Parameters:
receiveTimeout
- the receiveTimeout.- Returns:
- the spec.
- See Also:
JmsTemplate.setReceiveTimeout(long)
-