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>
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
  • Constructor Details

    • AmqpOutboundChannelAdapterSpec

      protected AmqpOutboundChannelAdapterSpec(org.springframework.amqp.core.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.