Class JmsPublishSubscribeMessageChannelSpec
java.lang.Object
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:
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.MessageChannelSpec
channel
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, target
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
ModifierConstructorDescriptionprotected
JmsPublishSubscribeMessageChannelSpec
(ConnectionFactory connectionFactory) -
Method Summary
Modifier and TypeMethodDescriptiondurableSubscriptionName
(String durableSubscriptionName) pubSubNoLocal
(boolean pubSubNoLocal) Only applies if theJmsMessageChannelSpec.containerType(Class)
is aDefaultMessageListenerContainer
or aSimpleMessageListenerContainer
.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, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
JmsPublishSubscribeMessageChannelSpec
-
-
Method Details
-
subscriptionDurable
- Parameters:
durable
- the durable.- Returns:
- the current
JmsPublishSubscribeMessageChannelSpec
. - See Also:
-
durableSubscriptionName
public JmsPublishSubscribeMessageChannelSpec durableSubscriptionName(String durableSubscriptionName) - Parameters:
durableSubscriptionName
- the durableSubscriptionName.- Returns:
- the current
JmsPublishSubscribeMessageChannelSpec
. - See Also:
-
clientId
- Parameters:
clientId
- the clientId.- Returns:
- the current
JmsPublishSubscribeMessageChannelSpec
. - See Also:
-
pubSubNoLocal
Only applies if theJmsMessageChannelSpec.containerType(Class)
is aDefaultMessageListenerContainer
or aSimpleMessageListenerContainer
.- Parameters:
pubSubNoLocal
- the pubSubNoLocal.- Returns:
- the current
JmsPublishSubscribeMessageChannelSpec
. - See Also:
-