org.apache.camel.component.jms.reply
Interface ReplyHandler

All Known Implementing Classes:
PersistentQueueReplyHandler, TemporaryQueueReplyHandler

public interface ReplyHandler

Handles a reply.

Version:
$Revision: 20573 $

Method Summary
 void onReply(String correlationId, Message reply)
          The reply message was received
 void onTimeout(String correlationId)
          The reply message was not received and a timeout triggered
 

Method Detail

onReply

void onReply(String correlationId,
             Message reply)
The reply message was received

Parameters:
correlationId - the correlation id
reply - the reply message

onTimeout

void onTimeout(String correlationId)
The reply message was not received and a timeout triggered

Parameters:
correlationId - the correlation id


Apache CAMEL