|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Activation
Activation trait that can be used to wait on activation or de-activation of Camel endpoints. The Camel endpoints are activated asynchronously. This trait can signal when an endpoint is activated or de-activated.
Method Summary | |
---|---|
scala.concurrent.Future<ActorRef> |
activationFutureFor(ActorRef endpoint,
Timeout timeout,
scala.concurrent.ExecutionContext executor)
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. |
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 |
---|
scala.concurrent.Future<ActorRef> activationFutureFor(ActorRef endpoint, Timeout timeout, scala.concurrent.ExecutionContext executor)
endpoint
- the endpoint to be activatedtimeout
- the timeout for the Futureexecutor
- (undocumented)
scala.concurrent.Future<ActorRef> deactivationFutureFor(ActorRef endpoint, Timeout timeout, scala.concurrent.ExecutionContext executor)
endpoint
- the endpoint to be deactivatedtimeout
- the timeout of the Futureexecutor
- (undocumented)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |