Class JmsOutboundGatewaySpec.ReplyContainerSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<JmsOutboundGatewaySpec.ReplyContainerSpec, JmsOutboundGateway.ReplyContainerProperties>
org.springframework.integration.jms.dsl.JmsOutboundGatewaySpec.ReplyContainerSpec
- All Implemented Interfaces:
DisposableBean, FactoryBean<JmsOutboundGateway.ReplyContainerProperties>, InitializingBean, Lifecycle, Phased, SmartLifecycle
- Enclosing class:
JmsOutboundGatewaySpec
public class JmsOutboundGatewaySpec.ReplyContainerSpec
extends IntegrationComponentSpec<JmsOutboundGatewaySpec.ReplyContainerSpec, JmsOutboundGateway.ReplyContainerProperties>
- Since:
- 5.0
- Author:
- Artem Bilan
-
Field Summary
Fields inherited from class IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface SmartLifecycle
DEFAULT_PHASE -
Method Summary
Modifier and TypeMethodDescriptioncacheLevel(Integer cacheLevel) concurrentConsumers(Integer concurrentConsumers) idleConsumerLimit(Integer idleConsumerLimit) idleReplyContainerTimeout(long idleReplyContainerTimeout) idleTaskExecutionLimit(Integer idleTaskExecutionLimit) maxConcurrentConsumers(Integer maxConcurrentConsumers) maxMessagesPerTask(Integer maxMessagesPerTask) receiveTimeout(Long receiveTimeout) recoveryInterval(Long recoveryInterval) sessionAcknowledgeMode(Integer sessionAcknowledgeMode) sessionTransacted(Boolean sessionTransacted) taskExecutor(Executor taskExecutor) Methods inherited from class IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, 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
-
Method Details
-
sessionTransacted
- Parameters:
sessionTransacted- the sessionTransacted.- Returns:
- the current
JmsOutboundGatewaySpec.ReplyContainerSpec. - See Also:
-
sessionAcknowledgeMode
public JmsOutboundGatewaySpec.ReplyContainerSpec sessionAcknowledgeMode(Integer sessionAcknowledgeMode) - Parameters:
sessionAcknowledgeMode- the acknowledgement mode constant- Returns:
- the current
JmsOutboundGatewaySpec.ReplyContainerSpec. - See Also:
-
receiveTimeout
- Parameters:
receiveTimeout- the receiveTimeout.- Returns:
- the current
JmsOutboundGatewaySpec.ReplyContainerSpec. - See Also:
-
recoveryInterval
- Parameters:
recoveryInterval- the recoveryInterval.- Returns:
- the current {ReplyContainerSpec}.
- See Also:
-
cacheLevel
- Parameters:
cacheLevel- the value fororg.springframework.jms.listener.DefaultMessageListenerContainer.cacheLevel.- Returns:
- the current {ReplyContainerSpec}.
- See Also:
-
concurrentConsumers
- Parameters:
concurrentConsumers- the concurrentConsumers.- Returns:
- the current {ReplyContainerSpec}.
- See Also:
-
maxConcurrentConsumers
public JmsOutboundGatewaySpec.ReplyContainerSpec maxConcurrentConsumers(Integer maxConcurrentConsumers) - Parameters:
maxConcurrentConsumers- the maxConcurrentConsumers.- Returns:
- the current {ReplyContainerSpec}.
- See Also:
-
maxMessagesPerTask
- Parameters:
maxMessagesPerTask- the maxMessagesPerTask.- Returns:
- the current {ReplyContainerSpec}.
- See Also:
-
idleConsumerLimit
- Parameters:
idleConsumerLimit- the idleConsumerLimit.- Returns:
- the current {ReplyContainerSpec}.
- See Also:
-
idleTaskExecutionLimit
public JmsOutboundGatewaySpec.ReplyContainerSpec idleTaskExecutionLimit(Integer idleTaskExecutionLimit) - Parameters:
idleTaskExecutionLimit- the idleTaskExecutionLimit.- Returns:
- the current {ReplyContainerSpec}.
- See Also:
-
taskExecutor
- Parameters:
taskExecutor- the taskExecutor.- Returns:
- the current {ReplyContainerSpec}.
- See Also:
-
idleReplyContainerTimeout
public JmsOutboundGatewaySpec.ReplyContainerSpec idleReplyContainerTimeout(long idleReplyContainerTimeout) - Parameters:
idleReplyContainerTimeout- the timeout in seconds.- Returns:
- the current {ReplyContainerSpec}.
- See Also:
-