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
Nested Classes Modifier and Type Class Description static 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
-
Constructor Summary
Constructors Modifier Constructor Description protected
JmsInboundGatewaySpec(AbstractMessageListenerContainer listenerContainer)
-
Method Summary
Modifier and Type Method Description S
correlationKey(String correlationKey)
S
defaultReplyDestination(javax.jms.Destination defaultReplyDestination)
S
defaultReplyQueueName(String destinationName)
S
defaultReplyTopicName(String destinationName)
S
destinationResolver(DestinationResolver destinationResolver)
S
explicitQosEnabledForReplies(boolean explicitQosEnabledForReplies)
S
extractReplyPayload(boolean extractReplyPayload)
S
extractRequestPayload(boolean extractRequestPayload)
S
jmsMessageConverter(MessageConverter messageConverter)
S
replyDeliveryPersistent(boolean replyDeliveryPersistent)
S
replyPriority(int replyPriority)
S
replyTimeToLive(long replyTimeToLive)
S
setHeaderMapper(JmsHeaderMapper headerMapper)
S
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, 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
-
Method Details
-
defaultReplyDestination
- Parameters:
defaultReplyDestination
- the defaultReplyDestination- Returns:
- the spec.
- See Also:
ChannelPublishingJmsMessageListener.setDefaultReplyDestination(Destination)
-
defaultReplyQueueName
- Parameters:
destinationName
- the destinationName- Returns:
- the spec.
- See Also:
ChannelPublishingJmsMessageListener.setDefaultReplyQueueName(String)
-
defaultReplyTopicName
- Parameters:
destinationName
- the destinationName- Returns:
- the spec.
- See Also:
ChannelPublishingJmsMessageListener.setDefaultReplyTopicName(String)
-
replyTimeToLive
- Parameters:
replyTimeToLive
- the replyTimeToLive- Returns:
- the spec.
- See Also:
ChannelPublishingJmsMessageListener.setReplyTimeToLive(long)
-
replyPriority
- Parameters:
replyPriority
- the replyPriority- Returns:
- the spec.
- See Also:
ChannelPublishingJmsMessageListener.setReplyPriority(int)
-
replyDeliveryPersistent
- Parameters:
replyDeliveryPersistent
- the replyDeliveryPersistent- Returns:
- the spec.
- See Also:
ChannelPublishingJmsMessageListener.setReplyDeliveryPersistent(boolean)
-
correlationKey
- Parameters:
correlationKey
- the correlationKey- Returns:
- the spec.
- See Also:
ChannelPublishingJmsMessageListener.setCorrelationKey(String)
-
explicitQosEnabledForReplies
- Parameters:
explicitQosEnabledForReplies
- the explicitQosEnabledForReplies.- Returns:
- the spec.
- See Also:
ChannelPublishingJmsMessageListener.setExplicitQosEnabledForReplies(boolean)
-
destinationResolver
- Parameters:
destinationResolver
- the destinationResolver.- Returns:
- the spec.
- See Also:
ChannelPublishingJmsMessageListener.setDestinationResolver(DestinationResolver)
-
jmsMessageConverter
- Parameters:
messageConverter
- the messageConverter.- Returns:
- the spec.
- See Also:
ChannelPublishingJmsMessageListener.setMessageConverter(MessageConverter)
-
setHeaderMapper
- Parameters:
headerMapper
- the headerMapper.- Returns:
- the spec.
- See Also:
ChannelPublishingJmsMessageListener.setHeaderMapper(JmsHeaderMapper)
-
extractRequestPayload
- Parameters:
extractRequestPayload
- the extractRequestPayload.- Returns:
- the spec.
- See Also:
ChannelPublishingJmsMessageListener.setExtractRequestPayload(boolean)
-
extractReplyPayload
- Parameters:
extractReplyPayload
- the extractReplyPayload.- Returns:
- the spec.
- See Also:
ChannelPublishingJmsMessageListener.setExtractReplyPayload(boolean)
-
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
-