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, javax.jms.Message reply, javax.jms.Session session)The reply message was receivedvoidonTimeout(String correlationId)The reply message was not received and a timeout triggered
-
-
-
Method Detail
-
onReply
void onReply(String correlationId, javax.jms.Message reply, javax.jms.Session session)
The reply message was received- Parameters:
correlationId- the correlation idreply- the JMS reply messagesession- the JMS session
-
onTimeout
void onTimeout(String correlationId)
The reply message was not received and a timeout triggered- Parameters:
correlationId- the correlation id
-
-