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 JmsPollableMessageChannelSpec
jmsChannelFactoryBeanFields inherited from class MessageChannelSpec
channelFields inherited from class IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface 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 JmsMessageChannelSpec
acceptMessagesWhileStopping, autoStartup, cacheLevel, concurrentConsumers, containerType, errorHandler, exposeListenerSession, idleTaskExecutionLimit, maxMessagesPerTask, maxSubscribers, phase, recoveryInterval, subscriptionShared, taskExecutor, transactionManager, transactionName, transactionTimeoutMethods inherited from class JmsPollableMessageChannelSpec
deliveryPersistent, destination, destination, destinationResolver, doGet, explicitQosEnabled, id, jmsMessageConverter, messageIdEnabled, messageSelector, messageTimestampEnabled, priority, receiveTimeout, sessionAcknowledgeMode, sessionTransacted, timeToLiveMethods inherited from class MessageChannelSpec
datatype, getComponentsToRegister, interceptor, messageConverter, wireTap, wireTap, wireTapMethods inherited from class IntegrationComponentSpec
_this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FactoryBean
isSingletonMethods inherited from interface SmartLifecycle
isPauseable
-
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:
-