Class JmsChannelFactoryBean

java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<AbstractJmsChannel>
org.springframework.integration.jms.config.JmsChannelFactoryBean
All Implemented Interfaces:
Aware, BeanClassLoaderAware, BeanFactoryAware, BeanNameAware, DisposableBean, FactoryBean<AbstractJmsChannel>, InitializingBean, Lifecycle, Phased, SmartLifecycle

public class JmsChannelFactoryBean extends AbstractFactoryBean<AbstractJmsChannel> implements SmartLifecycle, BeanNameAware
Since:
2.0
Author:
Mark Fisher, Oleg Zhurakousky, Gary Russell, Artem Bilan
  • Constructor Details

    • JmsChannelFactoryBean

      public JmsChannelFactoryBean()
    • JmsChannelFactoryBean

      public JmsChannelFactoryBean(boolean messageDriven)
  • Method Details

    • setInterceptors

      public void setInterceptors(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(String cacheLevelName)
    • setCacheLevel

      public void setCacheLevel(Integer cacheLevel)
    • setClientId

      public void setClientId(String clientId)
    • setConcurrency

      public void setConcurrency(String concurrency)
    • setConcurrentConsumers

      public void setConcurrentConsumers(int concurrentConsumers)
    • setConnectionFactory

      public void setConnectionFactory(ConnectionFactory connectionFactory)
    • setContainerType

      public void setContainerType(Class<? extends AbstractMessageListenerContainer> containerType)
    • setDestination

      public void setDestination(Destination destination)
    • setDestinationName

      public void setDestinationName(String destinationName)
    • setDestinationResolver

      public void setDestinationResolver(DestinationResolver destinationResolver)
    • setDurableSubscriptionName

      public void setDurableSubscriptionName(String durableSubscriptionName)
    • setErrorHandler

      public void setErrorHandler(ErrorHandler errorHandler)
    • setExceptionListener

      public void setExceptionListener(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(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(Executor taskExecutor)
    • setTransactionManager

      public void setTransactionManager(PlatformTransactionManager transactionManager)
    • setTransactionName

      public void setTransactionName(String transactionName)
    • setTransactionTimeout

      public void setTransactionTimeout(int transactionTimeout)
    • setMaxSubscribers

      public void setMaxSubscribers(int maxSubscribers)
    • setSubscriptionShared

      public void setSubscriptionShared(boolean subscriptionShared)
    • setBeanName

      public void setBeanName(String name)
      Specified by:
      setBeanName in interface BeanNameAware
    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface FactoryBean<AbstractJmsChannel>
      Specified by:
      getObjectType in class AbstractFactoryBean<AbstractJmsChannel>
    • createInstance

      protected AbstractJmsChannel createInstance()
      Specified by:
      createInstance in class AbstractFactoryBean<AbstractJmsChannel>
    • isAutoStartup

      public boolean isAutoStartup()
      Specified by:
      isAutoStartup in interface SmartLifecycle
    • getPhase

      public int getPhase()
      Specified by:
      getPhase in interface Phased
      Specified by:
      getPhase in interface SmartLifecycle
    • 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(Runnable callback)
      Specified by:
      stop in interface SmartLifecycle
    • destroyInstance

      protected void destroyInstance(AbstractJmsChannel instance)
      Overrides:
      destroyInstance in class AbstractFactoryBean<AbstractJmsChannel>