Class AmqpOutboundChannelAdapterSpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
org.springframework.integration.dsl.MessageHandlerSpec<S,E>
org.springframework.integration.amqp.dsl.AmqpBaseOutboundEndpointSpec<S,AmqpOutboundEndpoint>
org.springframework.integration.amqp.dsl.AmqpOutboundEndpointSpec<AmqpOutboundChannelAdapterSpec>
org.springframework.integration.amqp.dsl.AmqpOutboundChannelAdapterSpec
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<AmqpOutboundEndpoint>,org.springframework.beans.factory.InitializingBean,org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle
public class AmqpOutboundChannelAdapterSpec extends AmqpOutboundEndpointSpec<AmqpOutboundChannelAdapterSpec>
Spec for an outbound AMQP channel adapter
- Since:
- 5.3
-
Field Summary
Fields inherited from class org.springframework.integration.amqp.dsl.AmqpOutboundEndpointSpec
expectReplyFields inherited from class org.springframework.integration.amqp.dsl.AmqpBaseOutboundEndpointSpec
headerMapper -
Constructor Summary
Constructors Modifier Constructor Description protectedAmqpOutboundChannelAdapterSpec(org.springframework.amqp.core.AmqpTemplate amqpTemplate) -
Method Summary
Modifier and Type Method Description AmqpOutboundChannelAdapterSpecmultiSend(boolean multiSend)If true, and the message payload is anIterableofMessage, send the messages in a single invocation of the template (same channel) and optionally wait for the confirms or die.Methods inherited from class org.springframework.integration.amqp.dsl.AmqpOutboundEndpointSpec
mappedReplyHeaders, waitForConfirmMethods inherited from class org.springframework.integration.amqp.dsl.AmqpBaseOutboundEndpointSpec
confirmAckChannel, 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, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
-
Constructor Details
-
AmqpOutboundChannelAdapterSpec
protected AmqpOutboundChannelAdapterSpec(org.springframework.amqp.core.AmqpTemplate amqpTemplate)
-
-
Method Details
-
multiSend
If true, and the message payload is anIterableofMessage, send the messages in a single invocation of the template (same channel) and optionally wait for the confirms or die.- Parameters:
multiSend- true to send multiple messages.- Returns:
- the spec.
-