Class DataSenderImpl.DataSenderConfirmHandler

  • All Implemented Interfaces:
    com.rabbitmq.client.ConfirmListener
    Enclosing class:
    DataSenderImpl

    protected class DataSenderImpl.DataSenderConfirmHandler
    extends Object
    implements com.rabbitmq.client.ConfirmListener
    • Constructor Detail

      • DataSenderConfirmHandler

        public DataSenderConfirmHandler​(int messageConfirmBuffer)
    • Method Detail

      • sendDataWithConfirmation

        public void sendDataWithConfirmation​(com.rabbitmq.client.AMQP.BasicProperties properties,
                                             byte[] data)
                                      throws IOException
        Throws:
        IOException
      • handleAck

        public void handleAck​(long deliveryTag,
                              boolean multiple)
                       throws IOException
        Specified by:
        handleAck in interface com.rabbitmq.client.ConfirmListener
        Throws:
        IOException
      • handleNack

        public void handleNack​(long deliveryTag,
                               boolean multiple)
                        throws IOException
        Specified by:
        handleNack in interface com.rabbitmq.client.ConfirmListener
        Throws:
        IOException