Class JmsInboundGatewaySpec<S extends JmsInboundGatewaySpec<S>>
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,G>
org.springframework.integration.dsl.MessagingGatewaySpec<S,JmsInboundGateway>
org.springframework.integration.jms.dsl.JmsInboundGatewaySpec<S>
- Type Parameters:
S
- the targetJmsInboundGatewaySpec
implementation type.
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<JmsInboundGateway>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
- Direct Known Subclasses:
JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec
public class JmsInboundGatewaySpec<S extends JmsInboundGatewaySpec<S>>
extends MessagingGatewaySpec<S,JmsInboundGateway>
A
MessagingGatewaySpec
for a JmsInboundGateway
.- Since:
- 5.0
- Author:
- Artem Bilan, Gary Russell
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<S extends JmsListenerContainerSpec<S,
C>, C extends AbstractMessageListenerContainer> AnAbstractMessageListenerContainer
-basedJmsInboundGatewaySpec
extension. -
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
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
JmsInboundGatewaySpec
(AbstractMessageListenerContainer listenerContainer) -
Method Summary
Modifier and TypeMethodDescriptioncorrelationKey
(String correlationKey) defaultReplyDestination
(Destination defaultReplyDestination) defaultReplyQueueName
(String destinationName) defaultReplyTopicName
(String destinationName) destinationResolver
(DestinationResolver destinationResolver) explicitQosEnabledForReplies
(boolean explicitQosEnabledForReplies) extractReplyPayload
(boolean extractReplyPayload) extractRequestPayload
(boolean extractRequestPayload) jmsMessageConverter
(MessageConverter messageConverter) replyDeliveryPersistent
(boolean replyDeliveryPersistent) replyPriority
(int replyPriority) replyTimeToLive
(long replyTimeToLive) setHeaderMapper
(JmsHeaderMapper headerMapper) shutdownContainerOnStop
(boolean shutdown) Set to false to prevent listener container shutdown when the endpoint is stopped.Methods inherited from class org.springframework.integration.dsl.MessagingGatewaySpec
autoStartup, errorChannel, errorChannel, errorOnTimeout, id, observationConvention, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout, shouldTrack
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
JmsInboundGatewaySpec
-
-
Method Details
-
defaultReplyDestination
- Parameters:
defaultReplyDestination
- the defaultReplyDestination- Returns:
- the spec.
- See Also:
-
defaultReplyQueueName
- Parameters:
destinationName
- the destinationName- Returns:
- the spec.
- See Also:
-
defaultReplyTopicName
- Parameters:
destinationName
- the destinationName- Returns:
- the spec.
- See Also:
-
replyTimeToLive
- Parameters:
replyTimeToLive
- the replyTimeToLive- Returns:
- the spec.
- See Also:
-
replyPriority
- Parameters:
replyPriority
- the replyPriority- Returns:
- the spec.
- See Also:
-
replyDeliveryPersistent
- Parameters:
replyDeliveryPersistent
- the replyDeliveryPersistent- Returns:
- the spec.
- See Also:
-
correlationKey
- Parameters:
correlationKey
- the correlationKey- Returns:
- the spec.
- See Also:
-
explicitQosEnabledForReplies
- Parameters:
explicitQosEnabledForReplies
- the explicitQosEnabledForReplies.- Returns:
- the spec.
- See Also:
-
destinationResolver
- Parameters:
destinationResolver
- the destinationResolver.- Returns:
- the spec.
- See Also:
-
jmsMessageConverter
- Parameters:
messageConverter
- the messageConverter.- Returns:
- the spec.
- See Also:
-
setHeaderMapper
- Parameters:
headerMapper
- the headerMapper.- Returns:
- the spec.
- See Also:
-
extractRequestPayload
- Parameters:
extractRequestPayload
- the extractRequestPayload.- Returns:
- the spec.
- See Also:
-
extractReplyPayload
- Parameters:
extractReplyPayload
- the extractReplyPayload.- Returns:
- the spec.
- See Also:
-
shutdownContainerOnStop
Set to false to prevent listener container shutdown when the endpoint is stopped. Then, if so configured, any cached consumer(s) in the container will remain. Otherwise the shared connection and will be closed and the listener invokers shut down; this behavior is new starting with version 5.1. Default: true.- Parameters:
shutdown
- false to not shutdown.- Returns:
- the spec.
- Since:
- 5.1
-