Package akka.camel
Interface Activation
-
- All Known Subinterfaces:
Camel
- All Known Implementing Classes:
DefaultCamel
public interface Activation
Produces a Future with the specified endpoint that will be completed when the endpoint has been activated, or if it times out, which will happen after the specified Timeout.param: endpoint the endpoint to be activated param: timeout the timeout for the Future
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description scala.concurrent.Future<ActorRef>
activationFutureFor(ActorRef endpoint, Timeout timeout, scala.concurrent.ExecutionContext executor)
scala.concurrent.Future<ActorRef>
deactivationFutureFor(ActorRef endpoint, Timeout timeout, scala.concurrent.ExecutionContext executor)
Produces a Future which will be completed when the given endpoint has been deactivated or or if it times out, which will happen after the specified Timeout.
-
-
-
Method Detail
-
activationFutureFor
scala.concurrent.Future<ActorRef> activationFutureFor(ActorRef endpoint, Timeout timeout, scala.concurrent.ExecutionContext executor)
-
deactivationFutureFor
scala.concurrent.Future<ActorRef> deactivationFutureFor(ActorRef endpoint, Timeout timeout, scala.concurrent.ExecutionContext executor)
Produces a Future which will be completed when the given endpoint has been deactivated or or if it times out, which will happen after the specified Timeout.- Parameters:
endpoint
- the endpoint to be deactivatedtimeout
- the timeout of the Futureexecutor
- (undocumented)- Returns:
- (undocumented)
-
-