org.springframework.integration.jms.config
Class JmsChannelFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<AbstractJmsChannel>
org.springframework.integration.jms.config.JmsChannelFactoryBean
- All Implemented Interfaces:
- BeanClassLoaderAware, BeanFactoryAware, BeanNameAware, DisposableBean, FactoryBean<AbstractJmsChannel>, InitializingBean, Lifecycle, Phased, SmartLifecycle
public class JmsChannelFactoryBean
- extends AbstractFactoryBean<AbstractJmsChannel>
- implements SmartLifecycle, DisposableBean, BeanNameAware
- Since:
- 2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsChannelFactoryBean
public JmsChannelFactoryBean()
JmsChannelFactoryBean
public JmsChannelFactoryBean(boolean messageDriven)
setInterceptors
public void setInterceptors(java.util.List<ChannelInterceptor> interceptors)
setDeliveryPersistent
public void setDeliveryPersistent(boolean deliveryPersistent)
setExplicitQosEnabled
public void setExplicitQosEnabled(boolean explicitQosEnabled)
setMessageConverter
public void setMessageConverter(MessageConverter messageConverter)
setMessageIdEnabled
public void setMessageIdEnabled(boolean messageIdEnabled)
setMessageTimestampEnabled
public void setMessageTimestampEnabled(boolean messageTimestampEnabled)
setPriority
public void setPriority(int priority)
setTimeToLive
public void setTimeToLive(long timeToLive)
setAcceptMessagesWhileStopping
public void setAcceptMessagesWhileStopping(boolean acceptMessagesWhileStopping)
setAutoStartup
public void setAutoStartup(boolean autoStartup)
setCacheLevelName
public void setCacheLevelName(java.lang.String cacheLevelName)
setClientId
public void setClientId(java.lang.String clientId)
setConcurrency
public void setConcurrency(java.lang.String concurrency)
setConcurrentConsumers
public void setConcurrentConsumers(int concurrentConsumers)
setConnectionFactory
public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
setContainerType
public void setContainerType(java.lang.Class<? extends AbstractMessageListenerContainer> containerType)
setDestination
public void setDestination(javax.jms.Destination destination)
setDestinationName
public void setDestinationName(java.lang.String destinationName)
setDestinationResolver
public void setDestinationResolver(DestinationResolver destinationResolver)
setDurableSubscriptionName
public void setDurableSubscriptionName(java.lang.String durableSubscriptionName)
setErrorHandler
public void setErrorHandler(ErrorHandler errorHandler)
setExceptionListener
public void setExceptionListener(javax.jms.ExceptionListener exceptionListener)
setExposeListenerSession
public void setExposeListenerSession(boolean exposeListenerSession)
setIdleTaskExecutionLimit
public void setIdleTaskExecutionLimit(int idleTaskExecutionLimit)
setMaxConcurrentConsumers
public void setMaxConcurrentConsumers(int maxConcurrentConsumers)
setMaxMessagesPerTask
public void setMaxMessagesPerTask(int maxMessagesPerTask)
setMessageSelector
public void setMessageSelector(java.lang.String messageSelector)
setPhase
public void setPhase(int phase)
setPubSubDomain
public void setPubSubDomain(boolean pubSubDomain)
setPubSubNoLocal
public void setPubSubNoLocal(boolean pubSubNoLocal)
setReceiveTimeout
public void setReceiveTimeout(long receiveTimeout)
setRecoveryInterval
public void setRecoveryInterval(long recoveryInterval)
setSessionAcknowledgeMode
public void setSessionAcknowledgeMode(int sessionAcknowledgeMode)
setSessionTransacted
public void setSessionTransacted(boolean sessionTransacted)
setSubscriptionDurable
public void setSubscriptionDurable(boolean subscriptionDurable)
setTaskExecutor
public void setTaskExecutor(java.util.concurrent.Executor taskExecutor)
setTransactionManager
public void setTransactionManager(PlatformTransactionManager transactionManager)
setTransactionName
public void setTransactionName(java.lang.String transactionName)
setTransactionTimeout
public void setTransactionTimeout(int transactionTimeout)
setBeanName
public void setBeanName(java.lang.String name)
- Specified by:
setBeanName
in interface BeanNameAware
getObjectType
public java.lang.Class<?> getObjectType()
- Specified by:
getObjectType
in interface FactoryBean<AbstractJmsChannel>
- Specified by:
getObjectType
in class AbstractFactoryBean<AbstractJmsChannel>
createInstance
protected AbstractJmsChannel createInstance()
throws java.lang.Exception
- Specified by:
createInstance
in class AbstractFactoryBean<AbstractJmsChannel>
- Throws:
java.lang.Exception
isAutoStartup
public boolean isAutoStartup()
- Specified by:
isAutoStartup
in interface SmartLifecycle
getPhase
public int getPhase()
- Specified by:
getPhase
in interface Phased
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interface Lifecycle
start
public void start()
- Specified by:
start
in interface Lifecycle
stop
public void stop()
- Specified by:
stop
in interface Lifecycle
stop
public void stop(java.lang.Runnable callback)
- Specified by:
stop
in interface SmartLifecycle
destroyInstance
protected void destroyInstance(AbstractJmsChannel instance)
throws java.lang.Exception
- Overrides:
destroyInstance
in class AbstractFactoryBean<AbstractJmsChannel>
- Throws:
java.lang.Exception