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
jmsChannelFactoryBean
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
-
Constructor Summary
Constructors Modifier Constructor Description protected
JmsPublishSubscribeMessageChannelSpec(javax.jms.ConnectionFactory connectionFactory)
-
Method Summary
Modifier and Type Method Description JmsPublishSubscribeMessageChannelSpec
clientId(String clientId)
JmsPublishSubscribeMessageChannelSpec
durableSubscriptionName(String durableSubscriptionName)
JmsPublishSubscribeMessageChannelSpec
pubSubNoLocal(boolean pubSubNoLocal)
Only applies if theJmsMessageChannelSpec.containerType(Class)
is aDefaultMessageListenerContainer
or aSimpleMessageListenerContainer
.JmsPublishSubscribeMessageChannelSpec
subscriptionDurable(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, transactionTimeout
Methods inherited from class org.springframework.integration.jms.dsl.JmsPollableMessageChannelSpec
deliveryPersistent, destination, destination, destinationResolver, doGet, explicitQosEnabled, id, jmsMessageConverter, messageIdEnabled, messageSelector, messageTimestampEnabled, priority, receiveTimeout, sessionAcknowledgeMode, sessionTransacted, timeToLive
Methods inherited from class org.springframework.integration.dsl.MessageChannelSpec
datatype, getComponentsToRegister, interceptor, messageConverter, wireTap, wireTap, wireTap
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, 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
-
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 aDefaultMessageListenerContainer
or aSimpleMessageListenerContainer
.- Parameters:
pubSubNoLocal
- the pubSubNoLocal.- Returns:
- the current
JmsPublishSubscribeMessageChannelSpec
. - See Also:
AbstractMessageListenerContainer.setPubSubNoLocal(boolean)
,AbstractMessageListenerContainer.setPubSubNoLocal(boolean)
-