Class JmsPublishSubscribeMessageChannelSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<JmsPublishSubscribeMessageChannelSpec,SubscribableJmsChannel>
org.springframework.integration.dsl.MessageChannelSpec<JmsPublishSubscribeMessageChannelSpec,SubscribableJmsChannel>
org.springframework.integration.jms.dsl.JmsPollableMessageChannelSpec<JmsPublishSubscribeMessageChannelSpec,SubscribableJmsChannel>
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
jmsChannelFactoryBeanFields inherited from class org.springframework.integration.dsl.MessageChannelSpec
channelFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJmsPublishSubscribeMessageChannelSpec(ConnectionFactory connectionFactory) -
Method Summary
Modifier and TypeMethodDescriptiondurableSubscriptionName(String durableSubscriptionName) pubSubNoLocal(boolean pubSubNoLocal) Only applies if theJmsMessageChannelSpec.containerType(Class)is aDefaultMessageListenerContaineror 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, 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, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 aDefaultMessageListenerContaineror aSimpleMessageListenerContainer.- Parameters:
pubSubNoLocal- the pubSubNoLocal.- Returns:
- the current
JmsPublishSubscribeMessageChannelSpec. - See Also:
-