Class JmsPublishSubscribeMessageChannelSpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,C>
org.springframework.integration.dsl.MessageChannelSpec<S,T>
org.springframework.integration.jms.dsl.JmsPollableMessageChannelSpec<S,T>
org.springframework.integration.jms.dsl.JmsMessageChannelSpec<JmsPublishSubscribeMessageChannelSpec,SubscribableJmsChannel>
org.springframework.integration.jms.dsl.JmsPublishSubscribeMessageChannelSpec
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<SubscribableJmsChannel>,InitializingBean,Lifecycle,Phased,SmartLifecycle,ComponentsRegistration
public class JmsPublishSubscribeMessageChannelSpec extends JmsMessageChannelSpec<JmsPublishSubscribeMessageChannelSpec,SubscribableJmsChannel>
A
JmsMessageChannelSpec for a SubscribableJmsChannel
configured with a topic.- Since:
- 5.0
- Author:
- Artem Bilan, Artem Vozhdayenko
-
Field Summary
Fields inherited from class org.springframework.integration.jms.dsl.JmsPollableMessageChannelSpec
jmsChannelFactoryBeanFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target -
Constructor Summary
Constructors Modifier Constructor Description protectedJmsPublishSubscribeMessageChannelSpec(javax.jms.ConnectionFactory connectionFactory) -
Method Summary
Modifier and Type Method Description JmsPublishSubscribeMessageChannelSpecclientId(String clientId)JmsPublishSubscribeMessageChannelSpecdurableSubscriptionName(String durableSubscriptionName)JmsPublishSubscribeMessageChannelSpecpubSubNoLocal(boolean pubSubNoLocal)Only applies if theJmsMessageChannelSpec.containerType(Class)is aDefaultMessageListenerContaineror aSimpleMessageListenerContainer.JmsPublishSubscribeMessageChannelSpecsubscriptionDurable(boolean durable)Methods inherited from class org.springframework.integration.jms.dsl.JmsMessageChannelSpec
acceptMessagesWhileStopping, autoStartup, cacheLevel, concurrentConsumers, containerType, errorHandler, exposeListenerSession, idleTaskExecutionLimit, maxMessagesPerTask, maxSubscribers, phase, recoveryInterval, subscriptionShared, taskExecutor, transactionManager, transactionName, transactionTimeoutMethods inherited from class org.springframework.integration.jms.dsl.JmsPollableMessageChannelSpec
deliveryPersistent, destination, destination, destinationResolver, doGet, explicitQosEnabled, id, jmsMessageConverter, messageIdEnabled, messageSelector, messageTimestampEnabled, priority, receiveTimeout, sessionAcknowledgeMode, sessionTransacted, timeToLiveMethods inherited from class org.springframework.integration.dsl.MessageChannelSpec
datatype, getComponentsToRegister, interceptor, messageConverter, wireTap, wireTap, wireTapMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
JmsPublishSubscribeMessageChannelSpec
protected JmsPublishSubscribeMessageChannelSpec(javax.jms.ConnectionFactory connectionFactory)
-
-
Method Details
-
subscriptionDurable
- Parameters:
durable- the durable.- Returns:
- the current
JmsPublishSubscribeMessageChannelSpec. - See Also:
AbstractMessageListenerContainer.setSubscriptionDurable(boolean)
-
durableSubscriptionName
public JmsPublishSubscribeMessageChannelSpec durableSubscriptionName(String durableSubscriptionName)- Parameters:
durableSubscriptionName- the durableSubscriptionName.- Returns:
- the current
JmsPublishSubscribeMessageChannelSpec. - See Also:
AbstractMessageListenerContainer.setDurableSubscriptionName(String)
-
clientId
- Parameters:
clientId- the clientId.- Returns:
- the current
JmsPublishSubscribeMessageChannelSpec. - See Also:
AbstractJmsListeningContainer.setClientId(String)
-
pubSubNoLocal
Only applies if theJmsMessageChannelSpec.containerType(Class)is aDefaultMessageListenerContaineror aSimpleMessageListenerContainer.- Parameters:
pubSubNoLocal- the pubSubNoLocal.- Returns:
- the current
JmsPublishSubscribeMessageChannelSpec. - See Also:
AbstractMessageListenerContainer.setPubSubNoLocal(boolean),AbstractMessageListenerContainer.setPubSubNoLocal(boolean)
-