Interface ReplyHandler
-
- All Known Implementing Classes:
QueueReplyHandler,TemporaryQueueReplyHandler
public interface ReplyHandlerHandles a reply.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonReply(String correlationId, com.rabbitmq.client.AMQP.BasicProperties properties, byte[] reply)The reply message was receivedvoidonTimeout(String correlationId)The reply message was not received and a timeout triggered
-
-
-
Method Detail
-
onReply
void onReply(String correlationId, com.rabbitmq.client.AMQP.BasicProperties properties, byte[] reply)
The reply message was received- Parameters:
correlationId- the correlation idreply- the reply message
-
onTimeout
void onTimeout(String correlationId)
The reply message was not received and a timeout triggered- Parameters:
correlationId- the correlation id
-
-