Interface ReplyHandler
-
- All Known Implementing Classes:
QueueReplyHandler
,TemporaryQueueReplyHandler
public interface ReplyHandler
Handles a reply.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onReply(String correlationId, com.rabbitmq.client.AMQP.BasicProperties properties, byte[] reply)
The reply message was receivedvoid
onTimeout(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
-
-