trait Camel extends Extension with Activation
Camel trait encapsulates the underlying camel machinery.
Note: CamelContext
and ProducerTemplate
are stopped when the associated actor system is shut down.
This trait can be obtained through the akka.camel.CamelExtension object.
- Source
- Camel.scala
- Alphabetic
- By Inheritance
- Camel
- Activation
- Extension
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
activationFutureFor(endpoint: ActorRef)(implicit timeout: Timeout, executor: ExecutionContext): Future[ActorRef]
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.
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.
- endpoint
the endpoint to be activated
- timeout
the timeout for the Future
- Definition Classes
- Activation
-
abstract
def
context: DefaultCamelContext
Underlying camel context.
Underlying camel context.
It can be used to configure camel manually, i.e. when the user wants to add new routes or endpoints, i.e.
camel.context.addRoutes(...)
- See also
org.apache.camel.impl.DefaultCamelContext
-
abstract
def
deactivationFutureFor(endpoint: ActorRef)(implicit timeout: Timeout, executor: ExecutionContext): Future[ActorRef]
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.
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.
- endpoint
the endpoint to be deactivated
- timeout
the timeout of the Future
- Definition Classes
- Activation
-
abstract
def
settings: CamelSettings
The settings for the CamelExtension
-
abstract
def
template: ProducerTemplate
The Camel ProducerTemplate.
The Camel ProducerTemplate.
- See also
org.apache.camel.ProducerTemplate