Activation trait that can be used to wait on activation or de-activation of Camel endpoints.
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.
Thrown to indicate that the actor referenced by an endpoint URI cannot be found in the actor system.
Wraps a org.apache.camel.model.ProcessorDefinition.
Wraps a org.apache.camel.model.ProcessorDefinition.
There is an implicit conversion in the akka.camel package object that converts a ProcessorDefinition
into this
type.
Because of this conversion, it is possible to use an akka.actor.ActorRef as a to
parameter in building a route:
class TestRoute(system: ActorSystem) extends RouteBuilder { val responder = system.actorOf(Props[TestResponder], name = "TestResponder") def configure { from("direct:producer").to(responder) } }
An exception indicating that the exchange to the camel endpoint failed.
An exception indicating that the exchange to the camel endpoint failed. It contains the failure cause obtained from Exchange.getException and the headers from either the Exchange.getIn message or Exchange.getOut message, depending on the exchange pattern.
Camel trait encapsulates the underlying camel machinery.
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.
An immutable representation of a Camel message.
Settings for the Camel Extension
Mixed in by Actor implementations that consume message from Camel endpoints.
Implement this interface in order to inject a specific CamelContext in a system An instance of this class must be instantiable using a no-arg constructor.
Default implementation of akka.camel.ContextProvider Provides a new DefaultCamelContext per actor system
A one-way producer.
Mixed in by Actor implementations to produce messages to Camel endpoints.
Support trait for producing messages to Camel endpoints.
Positive acknowledgement message (used for application-acknowledged message receipts).
Positive acknowledgement message (used for application-acknowledged message receipts).
When autoAck
is set to false in the akka.camel.Consumer, you can send an Ack
to the sender of the CamelMessage.
This class can be used to get hold of an instance of the Camel class bound to the actor system.
This class can be used to get hold of an instance of the Camel class bound to the actor system.
For example:
val system = ActorSystem("some system") val camel = CamelExtension(system) camel.context.addRoutes(...)
akka.actor.ExtensionIdProvider
akka.actor.ExtensionId
Companion object of CamelMessage class.
To allow using Actors with the Camel Route DSL:
To allow using Actors with the Camel Route DSL:
from("file://data/input/CamelConsumer").to(actor)