Class AmqpInboundChannelAdapter.BatchListener

java.lang.Object
org.springframework.integration.amqp.inbound.AmqpInboundChannelAdapter.Listener
org.springframework.integration.amqp.inbound.AmqpInboundChannelAdapter.BatchListener
All Implemented Interfaces:
org.springframework.amqp.core.MessageListener, org.springframework.amqp.rabbit.listener.api.ChannelAwareBatchMessageListener, org.springframework.amqp.rabbit.listener.api.ChannelAwareMessageListener
Enclosing class:
AmqpInboundChannelAdapter

protected class AmqpInboundChannelAdapter.BatchListener
extends AmqpInboundChannelAdapter.Listener
implements org.springframework.amqp.rabbit.listener.api.ChannelAwareBatchMessageListener
  • Field Summary

    Fields inherited from class org.springframework.integration.amqp.inbound.AmqpInboundChannelAdapter.Listener

    converter, manualAcks, recoverer, retryOps
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected BatchListener()  
  • Method Summary

    Modifier and Type Method Description
    void onMessageBatch​(java.util.List<org.springframework.amqp.core.Message> messages, com.rabbitmq.client.Channel channel)  

    Methods inherited from class org.springframework.integration.amqp.inbound.AmqpInboundChannelAdapter.Listener

    convertPayload, createMessageFromAmqp, createMessageFromPayload, onMessage

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.amqp.rabbit.listener.api.ChannelAwareBatchMessageListener

    onMessage

    Methods inherited from interface org.springframework.amqp.rabbit.listener.api.ChannelAwareMessageListener

    onMessage

    Methods inherited from interface org.springframework.amqp.core.MessageListener

    containerAckMode, isAsyncReplies, onMessageBatch
  • Constructor Details

  • Method Details

    • onMessageBatch

      public void onMessageBatch​(java.util.List<org.springframework.amqp.core.Message> messages, com.rabbitmq.client.Channel channel)
      Specified by:
      onMessageBatch in interface org.springframework.amqp.rabbit.listener.api.ChannelAwareBatchMessageListener
      Specified by:
      onMessageBatch in interface org.springframework.amqp.rabbit.listener.api.ChannelAwareMessageListener