Class AmqpOutboundEndpointSpec<S extends AmqpOutboundEndpointSpec<S>>
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S, AmqpOutboundEndpoint>
org.springframework.integration.dsl.MessageHandlerSpec<S, AmqpOutboundEndpoint>
org.springframework.integration.amqp.dsl.AmqpBaseOutboundEndpointSpec<S, AmqpOutboundEndpoint>
org.springframework.integration.amqp.dsl.AmqpOutboundEndpointSpec<S>
- Type Parameters:
- S- the spec subclass type.
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<AmqpOutboundEndpoint>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle
- Direct Known Subclasses:
- AmqpOutboundChannelAdapterSpec,- AmqpOutboundGatewaySpec
public abstract class AmqpOutboundEndpointSpec<S extends AmqpOutboundEndpointSpec<S>>
extends AmqpBaseOutboundEndpointSpec<S, AmqpOutboundEndpoint>
Base spec for outbound AMQP endpoints.
- Since:
- 5.0
- Author:
- Artem Bilan
- 
Field SummaryFieldsFields inherited from class org.springframework.integration.amqp.dsl.AmqpBaseOutboundEndpointSpecheaderMapperFields 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 SummaryConstructorsModifierConstructorDescriptionprotectedAmqpOutboundEndpointSpec(AmqpTemplate amqpTemplate, boolean expectReply) 
- 
Method SummaryModifier and TypeMethodDescriptionmappedReplyHeaders(String... headers) Provide the header names that should be mapped to a response from aMessageHeaders.waitForConfirm(boolean waitForConfirm) Wait for a publisher confirm.Methods inherited from class org.springframework.integration.amqp.dsl.AmqpBaseOutboundEndpointSpecconfirmAckChannel, confirmCorrelationExpression, confirmCorrelationExpression, confirmCorrelationFunction, confirmNackChannel, confirmTimeout, defaultDeliveryMode, delay, delayExpression, delayExpression, delayFunction, errorMessageStrategy, exchangeName, exchangeNameExpression, exchangeNameExpression, exchangeNameFunction, headerMapper, headersMappedLast, lazyConnect, mappedRequestHeaders, returnChannel, routingKey, routingKeyExpression, routingKeyExpression, routingKeyFunctionMethods 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
- 
Field Details- 
expectReplyprotected final boolean expectReply
 
- 
- 
Constructor Details- 
AmqpOutboundEndpointSpec
 
- 
- 
Method Details- 
mappedReplyHeadersDescription copied from class:AmqpBaseOutboundEndpointSpecProvide the header names that should be mapped to a response from aMessageHeaders.- Overrides:
- mappedReplyHeadersin class- AmqpBaseOutboundEndpointSpec<S extends AmqpOutboundEndpointSpec<S>, AmqpOutboundEndpoint>
- Parameters:
- headers- The reply header names.
- Returns:
- the spec
 
- 
waitForConfirmWait for a publisher confirm.- Parameters:
- waitForConfirm- true to wait.
- Returns:
- the spec.
- Since:
- 5.2
- See Also:
 
 
-