Class JmsOutboundGatewaySpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<JmsOutboundGatewaySpec, JmsOutboundGateway>
org.springframework.integration.dsl.MessageHandlerSpec<JmsOutboundGatewaySpec, JmsOutboundGateway>
org.springframework.integration.jms.dsl.JmsOutboundGatewaySpec
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<JmsOutboundGateway>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle
public class JmsOutboundGatewaySpec
extends MessageHandlerSpec<JmsOutboundGatewaySpec, JmsOutboundGateway>
A 
MessageHandlerSpec for a JmsOutboundGateway.- Since:
- 5.0
- Author:
- Artem Bilan
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionclass
- 
Field SummaryFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedJmsOutboundGatewaySpec(ConnectionFactory connectionFactory) 
- 
Method SummaryModifier and TypeMethodDescriptioncorrelationKey(String correlationKey) deliveryPersistent(boolean deliveryPersistent) destinationResolver(DestinationResolver destinationResolver) explicitQosEnabled(boolean explicitQosEnabled) extractReplyPayload(boolean extractPayload) extractRequestPayload(boolean extractPayload) headerMapper(JmsHeaderMapper headerMapper) jmsMessageConverter(MessageConverter messageConverter) priority(int priority) Default priority.receiveTimeout(long receiveTimeout) Configure a reply container with default properties.Configure a reply container with a reply container specification determined by invoking theConsumercallback with aJmsOutboundGatewaySpec.ReplyContainerSpec.replyDestination(Destination destination) replyDestination(String destination) replyDestination(Function<Message<P>, ?> destinationFunction) Configure aFunctionthat will be invoked at run time to determine the destination from which a reply will be received.replyDestinationExpression(String destination) replyPubSubDomain(boolean pubSubDomain) requestDestination(Destination destination) requestDestination(String destination) requestDestination(Function<Message<P>, ?> destinationFunction) Configure aFunctionthat will be invoked at runtime to determine the destination to which a message will be sent.requestDestinationExpression(String destination) requestPubSubDomain(boolean pubSubDomain) timeToLive(long timeToLive) Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Constructor Details- 
JmsOutboundGatewaySpec
 
- 
- 
Method Details- 
extractRequestPayload- Parameters:
- extractPayload- the extractPayload.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
extractReplyPayload- Parameters:
- extractPayload- the extractPayload.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
headerMapper- Parameters:
- headerMapper- the headerMapper.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
requestDestination- Parameters:
- destination- the destination.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
requestDestination- Parameters:
- destination- the destination name.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
requestDestinationExpression- Parameters:
- destination- the destination expression.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
requestDestinationConfigure aFunctionthat will be invoked at runtime to determine the destination to which a message will be sent. Typically used with a Java 8 Lambda expression:.<Foo>destination(m -> m.getPayload().getState())- Type Parameters:
- P- the expected payload type.
- Parameters:
- destinationFunction- the destination function.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
replyDestination- Parameters:
- destination- the destination.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
replyDestination- Parameters:
- destination- the destination name.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
replyDestinationExpression- Parameters:
- destination- the destination expression.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
replyDestinationConfigure aFunctionthat will be invoked at run time to determine the destination from which a reply will be received. Typically used with a Java 8 Lambda expression:.<Foo>replyDestination(m -> m.getPayload().getState())- Type Parameters:
- P- the expected payload type.
- Parameters:
- destinationFunction- the destination function.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
destinationResolver- Parameters:
- destinationResolver- the destinationResolver.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
jmsMessageConverter- Parameters:
- messageConverter- the messageConverter.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
correlationKey- Parameters:
- correlationKey- the correlationKey
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
requestPubSubDomain- Parameters:
- pubSubDomain- the pubSubDomain
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
replyPubSubDomain- Parameters:
- pubSubDomain- the pubSubDomain
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
deliveryPersistent- Parameters:
- deliveryPersistent- the deliveryPersistent.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
priorityDefault priority. May be overridden at run time with a message priority header.- Parameters:
- priority- the priority.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
timeToLive- Parameters:
- timeToLive- the timeToLive.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
receiveTimeout- Parameters:
- receiveTimeout- the receiveTimeout.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
explicitQosEnabled- Parameters:
- explicitQosEnabled- the explicitQosEnabled.
- Returns:
- the current JmsOutboundGatewaySpec.
- See Also:
 
- 
replyContainerConfigure a reply container with default properties.- Returns:
- the current JmsOutboundGatewaySpec.
 
- 
replyContainerpublic JmsOutboundGatewaySpec replyContainer(Consumer<JmsOutboundGatewaySpec.ReplyContainerSpec> configurer) Configure a reply container with a reply container specification determined by invoking theConsumercallback with aJmsOutboundGatewaySpec.ReplyContainerSpec.- Parameters:
- configurer- the configurer.
- Returns:
- the current JmsOutboundGatewaySpec.
 
 
-