Interface ResponseHandler
public interface ResponseHandler
Interface used by the AmqpProtocolConverter for callbacks from the broker.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonResponse(AmqpProtocolConverter converter, org.apache.activemq.command.Response response) Called when the Broker has handled a previously issued request and has a response ready.
-
Method Details
-
onResponse
void onResponse(AmqpProtocolConverter converter, org.apache.activemq.command.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.
-