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 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 deactivated
        timeout - the timeout of the Future
        executor - (undocumented)
        Returns:
        (undocumented)