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, javax.jms.Message reply, javax.jms.Session session)
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, 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
-
-