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:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<SubscribableJmsChannel>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle, org.springframework.integration.dsl.ComponentsRegistration
public class JmsPublishSubscribeMessageChannelSpec
extends JmsMessageChannelSpec<JmsPublishSubscribeMessageChannelSpec, SubscribableJmsChannel>
A
JmsMessageChannelSpec for a SubscribableJmsChannel
configured with a topic.- Since:
- 5.0
-
Field Summary
Fields inherited from class 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(jakarta.jms.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 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingletonMethods inherited from interface org.springframework.context.SmartLifecycle
isPauseable
-
Constructor Details
-
JmsPublishSubscribeMessageChannelSpec
protected JmsPublishSubscribeMessageChannelSpec(jakarta.jms.ConnectionFactory connectionFactory)
-
-
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:
-