public class JmsChannelFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean<AbstractJmsChannel> implements org.springframework.context.SmartLifecycle, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.BeanNameAware
Constructor and Description |
---|
JmsChannelFactoryBean() |
JmsChannelFactoryBean(boolean messageDriven) |
Modifier and Type | Method and Description |
---|---|
protected AbstractJmsChannel |
createInstance() |
protected void |
destroyInstance(AbstractJmsChannel instance) |
java.lang.Class<?> |
getObjectType() |
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
setAcceptMessagesWhileStopping(boolean acceptMessagesWhileStopping) |
void |
setAutoStartup(boolean autoStartup) |
void |
setBeanName(java.lang.String name) |
void |
setCacheLevelName(java.lang.String cacheLevelName) |
void |
setClientId(java.lang.String clientId) |
void |
setConcurrency(java.lang.String concurrency) |
void |
setConcurrentConsumers(int concurrentConsumers) |
void |
setConnectionFactory(javax.jms.ConnectionFactory connectionFactory) |
void |
setContainerType(java.lang.Class<? extends org.springframework.jms.listener.AbstractMessageListenerContainer> containerType) |
void |
setDeliveryPersistent(boolean deliveryPersistent) |
void |
setDestination(javax.jms.Destination destination) |
void |
setDestinationName(java.lang.String destinationName) |
void |
setDestinationResolver(org.springframework.jms.support.destination.DestinationResolver destinationResolver) |
void |
setDurableSubscriptionName(java.lang.String durableSubscriptionName) |
void |
setErrorHandler(org.springframework.util.ErrorHandler errorHandler) |
void |
setExceptionListener(javax.jms.ExceptionListener exceptionListener) |
void |
setExplicitQosEnabled(boolean explicitQosEnabled) |
void |
setExposeListenerSession(boolean exposeListenerSession) |
void |
setIdleTaskExecutionLimit(int idleTaskExecutionLimit) |
void |
setInterceptors(java.util.List<ChannelInterceptor> interceptors) |
void |
setMaxConcurrentConsumers(int maxConcurrentConsumers) |
void |
setMaxMessagesPerTask(int maxMessagesPerTask) |
void |
setMaxSubscribers(int maxSubscribers) |
void |
setMessageConverter(org.springframework.jms.support.converter.MessageConverter messageConverter) |
void |
setMessageIdEnabled(boolean messageIdEnabled) |
void |
setMessageSelector(java.lang.String messageSelector) |
void |
setMessageTimestampEnabled(boolean messageTimestampEnabled) |
void |
setPhase(int phase) |
void |
setPriority(int priority) |
void |
setPubSubDomain(boolean pubSubDomain) |
void |
setPubSubNoLocal(boolean pubSubNoLocal) |
void |
setReceiveTimeout(long receiveTimeout) |
void |
setRecoveryInterval(long recoveryInterval) |
void |
setSessionAcknowledgeMode(int sessionAcknowledgeMode) |
void |
setSessionTransacted(boolean sessionTransacted) |
void |
setSubscriptionDurable(boolean subscriptionDurable) |
void |
setTaskExecutor(java.util.concurrent.Executor taskExecutor) |
void |
setTimeToLive(long timeToLive) |
void |
setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) |
void |
setTransactionName(java.lang.String transactionName) |
void |
setTransactionTimeout(int transactionTimeout) |
void |
start() |
void |
stop() |
void |
stop(java.lang.Runnable callback) |
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
public JmsChannelFactoryBean()
public JmsChannelFactoryBean(boolean messageDriven)
public void setInterceptors(java.util.List<ChannelInterceptor> interceptors)
public void setDeliveryPersistent(boolean deliveryPersistent)
public void setExplicitQosEnabled(boolean explicitQosEnabled)
public void setMessageConverter(org.springframework.jms.support.converter.MessageConverter messageConverter)
public void setMessageIdEnabled(boolean messageIdEnabled)
public void setMessageTimestampEnabled(boolean messageTimestampEnabled)
public void setPriority(int priority)
public void setTimeToLive(long timeToLive)
public void setAcceptMessagesWhileStopping(boolean acceptMessagesWhileStopping)
public void setAutoStartup(boolean autoStartup)
public void setCacheLevelName(java.lang.String cacheLevelName)
public void setClientId(java.lang.String clientId)
public void setConcurrency(java.lang.String concurrency)
public void setConcurrentConsumers(int concurrentConsumers)
public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
public void setContainerType(java.lang.Class<? extends org.springframework.jms.listener.AbstractMessageListenerContainer> containerType)
public void setDestination(javax.jms.Destination destination)
public void setDestinationName(java.lang.String destinationName)
public void setDestinationResolver(org.springframework.jms.support.destination.DestinationResolver destinationResolver)
public void setDurableSubscriptionName(java.lang.String durableSubscriptionName)
public void setErrorHandler(org.springframework.util.ErrorHandler errorHandler)
public void setExceptionListener(javax.jms.ExceptionListener exceptionListener)
public void setExposeListenerSession(boolean exposeListenerSession)
public void setIdleTaskExecutionLimit(int idleTaskExecutionLimit)
public void setMaxConcurrentConsumers(int maxConcurrentConsumers)
public void setMaxMessagesPerTask(int maxMessagesPerTask)
public void setMessageSelector(java.lang.String messageSelector)
public void setPhase(int phase)
public void setPubSubDomain(boolean pubSubDomain)
public void setPubSubNoLocal(boolean pubSubNoLocal)
public void setReceiveTimeout(long receiveTimeout)
public void setRecoveryInterval(long recoveryInterval)
public void setSessionAcknowledgeMode(int sessionAcknowledgeMode)
public void setSessionTransacted(boolean sessionTransacted)
public void setSubscriptionDurable(boolean subscriptionDurable)
public void setTaskExecutor(java.util.concurrent.Executor taskExecutor)
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
public void setTransactionName(java.lang.String transactionName)
public void setTransactionTimeout(int transactionTimeout)
public void setMaxSubscribers(int maxSubscribers)
public void setBeanName(java.lang.String name)
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
public java.lang.Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<AbstractJmsChannel>
getObjectType
in class org.springframework.beans.factory.config.AbstractFactoryBean<AbstractJmsChannel>
protected AbstractJmsChannel createInstance() throws java.lang.Exception
createInstance
in class org.springframework.beans.factory.config.AbstractFactoryBean<AbstractJmsChannel>
java.lang.Exception
public boolean isAutoStartup()
isAutoStartup
in interface org.springframework.context.SmartLifecycle
public int getPhase()
getPhase
in interface org.springframework.context.Phased
public boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle
public void start()
start
in interface org.springframework.context.Lifecycle
public void stop()
stop
in interface org.springframework.context.Lifecycle
public void stop(java.lang.Runnable callback)
stop
in interface org.springframework.context.SmartLifecycle
protected void destroyInstance(AbstractJmsChannel instance) throws java.lang.Exception
destroyInstance
in class org.springframework.beans.factory.config.AbstractFactoryBean<AbstractJmsChannel>
java.lang.Exception