Search in sources :

Example 6 with AMQCommand

use of com.rabbitmq.client.impl.AMQCommand in project rabbitmq-java-client by rabbitmq.

the class AutorecoveringChannel method rpc.

@Override
public Command rpc(Method method) throws IOException {
    recordOnRpcRequest(method);
    AMQCommand response = delegate.rpc(method);
    recordOnRpcResponse(response.getMethod(), method);
    return response;
}
Also used : AMQCommand(com.rabbitmq.client.impl.AMQCommand)

Aggregations

AMQCommand (com.rabbitmq.client.impl.AMQCommand)6 AMQP (com.rabbitmq.client.AMQP)3 Method (com.rabbitmq.client.Method)3 Test (org.junit.Test)3 SpanEventRecorder (com.navercorp.pinpoint.bootstrap.context.SpanEventRecorder)2 Trace (com.navercorp.pinpoint.bootstrap.context.Trace)2 ChannelContinuationTimeoutException (com.rabbitmq.client.ChannelContinuationTimeoutException)2 AMQConnection (com.rabbitmq.client.impl.AMQConnection)2 Method (com.rabbitmq.client.impl.Method)2 AMQChannel (com.rabbitmq.client.impl.AMQChannel)1 AMQImpl (com.rabbitmq.client.impl.AMQImpl)1 SocketFrameHandler (com.rabbitmq.client.impl.SocketFrameHandler)1 IOException (java.io.IOException)1