|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.component.jms.reply.ReplyHolder
public class ReplyHolder
Holder which contains the Exchange and AsyncCallback to be used
when the reply arrives, so we can set the reply on the Exchange and continue routing using the callback.
| Constructor Summary | |
|---|---|
ReplyHolder(Exchange exchange,
AsyncCallback callback,
String originalCorrelationId,
long timeout)
Constructor to use when a timeout occurred |
|
ReplyHolder(Exchange exchange,
AsyncCallback callback,
String originalCorrelationId,
javax.jms.Message message)
Constructor to use when a reply message was received |
|
| Method Summary | |
|---|---|
AsyncCallback |
getCallback()
|
Exchange |
getExchange()
|
javax.jms.Message |
getMessage()
Gets the received message |
String |
getOriginalCorrelationId()
Gets the original correlation id, if one was set when sending the message. |
long |
getRequestTimeout()
The timeout value |
boolean |
isTimeout()
Whether timeout triggered or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReplyHolder(Exchange exchange,
AsyncCallback callback,
String originalCorrelationId,
javax.jms.Message message)
public ReplyHolder(Exchange exchange,
AsyncCallback callback,
String originalCorrelationId,
long timeout)
| Method Detail |
|---|
public Exchange getExchange()
public AsyncCallback getCallback()
public String getOriginalCorrelationId()
public javax.jms.Message getMessage()
isTimeout()public boolean isTimeout()
public long getRequestTimeout()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||