Interface ResponseHandler


  • public interface ResponseHandler
    Interface used by the AmqpProtocolConverter for callbacks from the broker.
    • Method Detail

      • onResponse

        void onResponse​(AmqpProtocolConverter converter,
                        Response response)
                 throws IOException
        Called when the Broker has handled a previously issued request and has a response ready.
        Parameters:
        converter - the protocol converter that is awaiting the response.
        response - the response from the broker.
        Throws:
        IOException - if an error occurs while processing the response.