Interface DeliverCallback

    • Method Detail

      • handle

        void handle​(java.lang.String consumerTag,
                    Delivery message)
             throws java.io.IOException
        Called when a basic.deliver is received for this consumer.
        Parameters:
        consumerTag - the consumer tag associated with the consumer
        message - the delivered message
        Throws:
        java.io.IOException - if the consumer encounters an I/O error while processing the message