Class JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<S extends JmsListenerContainerSpec<S,C>, C extends org.springframework.jms.listener.AbstractMessageListenerContainer>
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<S,C>, JmsInboundGateway>
org.springframework.integration.dsl.MessagingGatewaySpec<JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<S,C>, JmsInboundGateway>
org.springframework.integration.jms.dsl.JmsInboundGatewaySpec<JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<S,C>>
org.springframework.integration.jms.dsl.JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<S,C>
- Type Parameters:
S- the targetJmsListenerContainerSpecimplementation type.C- the targetAbstractMessageListenerContainerimplementation type.
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<JmsInboundGateway>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle
- Enclosing class:
JmsInboundGatewaySpec<S extends JmsInboundGatewaySpec<S>>
public static class JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<S extends JmsListenerContainerSpec<S,C>, C extends org.springframework.jms.listener.AbstractMessageListenerContainer>
extends JmsInboundGatewaySpec<JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<S,C>>
An
AbstractMessageListenerContainer-based JmsInboundGatewaySpec extension.- Since:
- 5.0
-
Nested Class Summary
Nested classes/interfaces inherited from class JmsInboundGatewaySpec
JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<S,C> -
Field Summary
Fields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfigureListenerContainer(Consumer<S> configurer) Specify aConsumerto accept aJmsListenerContainerSpecfor further configuration.requestDestination(jakarta.jms.Destination requestDestination) Specify a request destination for incoming messages.requestDestination(String requestDestinationName) Specify a request destination for incoming messages.Methods inherited from class JmsInboundGatewaySpec
correlationKey, defaultReplyDestination, defaultReplyQueueName, defaultReplyTopicName, destinationResolver, explicitQosEnabledForReplies, extractReplyPayload, extractRequestPayload, jmsMessageConverter, recoveryCallback, replyDeliveryPersistent, replyPriority, replyTimeToLive, replyToExpression, replyToExpression, replyToFunction, retryTemplate, setHeaderMapper, shutdownContainerOnStopMethods inherited from class org.springframework.integration.dsl.MessagingGatewaySpec
autoStartup, errorChannel, errorChannel, errorOnTimeout, id, observationConvention, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout, shouldTrackMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, 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
-
JmsInboundGatewayListenerContainerSpec
-
-
Method Details
-
requestDestination
public JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<S,C> requestDestination(jakarta.jms.Destination requestDestination) Specify a request destination for incoming messages.- Parameters:
requestDestination- the destination- Returns:
- the spec.
- Since:
- 5.5
- See Also:
-
requestDestination
public JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<S,C> requestDestination(String requestDestinationName) Specify a request destination for incoming messages.- Parameters:
requestDestinationName- the destination name- Returns:
- the spec.
- Since:
- 5.5
- See Also:
-
configureListenerContainer
public JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<S,C> configureListenerContainer(Consumer<S> configurer) Specify aConsumerto accept aJmsListenerContainerSpecfor further configuration.- Parameters:
configurer- theConsumerto accept aJmsListenerContainerSpecfor further configuration.- Returns:
- the spec
-