org.apache.camel.component.jms.requestor
Class PersistentReplyToFutureHandler
java.lang.Object
java.util.concurrent.FutureTask<Message>
org.apache.camel.component.jms.requestor.FutureHandler
org.apache.camel.component.jms.requestor.PersistentReplyToFutureHandler
- All Implemented Interfaces:
- Runnable, Future<Message>, ReplyHandler
public class PersistentReplyToFutureHandler
- extends FutureHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
requestor
protected PersistentReplyToRequestor requestor
callback
protected DeferredRequestReplyMap.DeferredMessageSentCallback callback
correlationID
protected String correlationID
PersistentReplyToFutureHandler
public PersistentReplyToFutureHandler(PersistentReplyToRequestor requestor,
String correlationID)
PersistentReplyToFutureHandler
public PersistentReplyToFutureHandler(PersistentReplyToRequestor requestor,
DeferredRequestReplyMap.DeferredMessageSentCallback callback)
get
public Message get()
throws InterruptedException,
ExecutionException
- Specified by:
get in interface Future<Message>- Overrides:
get in class FutureTask<Message>
- Throws:
InterruptedException
ExecutionException
get
public Message get(long timeout,
TimeUnit unit)
throws InterruptedException,
ExecutionException,
TimeoutException
- Specified by:
get in interface Future<Message>- Overrides:
get in class FutureTask<Message>
- Throws:
InterruptedException
ExecutionException
TimeoutException
updateSelector
protected void updateSelector()
throws ExecutionException
- Throws:
ExecutionException
revertSelector
protected void revertSelector()
throws ExecutionException
- Throws:
ExecutionException
Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.