Class AmqpOutboundChannelAdapterSpec

All Implemented Interfaces:
DisposableBean, FactoryBean<AmqpOutboundEndpoint>, InitializingBean, Lifecycle, Phased, SmartLifecycle

public class AmqpOutboundChannelAdapterSpec extends AmqpOutboundEndpointSpec<AmqpOutboundChannelAdapterSpec>
Spec for an outbound AMQP channel adapter.
Since:
5.3
Author:
Gary Russell, Artme Bilan
  • Constructor Details

    • AmqpOutboundChannelAdapterSpec

      protected AmqpOutboundChannelAdapterSpec(AmqpTemplate amqpTemplate)
  • Method Details

    • multiSend

      public AmqpOutboundChannelAdapterSpec multiSend(boolean multiSend)
      If true, and the message payload is an Iterable of Message, 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.