akka.camel
Interface Camel

All Superinterfaces:
Activation, Extension
All Known Implementing Classes:
DefaultCamel

public interface Camel
extends Extension, 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 CamelExtension object.


Method Summary
 org.apache.camel.impl.DefaultCamelContext context()
          Underlying camel context.
 CamelSettings settings()
          The settings for the CamelExtension
 ActorRef supervisor()
          INTERNAL API Returns the camel supervisor actor.
 ActorSystem system()
          INTERNAL API Returns the associated ActorSystem.
 org.apache.camel.ProducerTemplate template()
          The Camel ProducerTemplate.
 
Methods inherited from interface akka.camel.Activation
activationFutureFor, deactivationFutureFor
 

Method Detail

context

org.apache.camel.impl.DefaultCamelContext 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 org.apache.camel.impl.DefaultCamelContext

Returns:
(undocumented)

template

org.apache.camel.ProducerTemplate template()
The Camel ProducerTemplate.

Returns:
(undocumented)
See Also:
org.apache.camel.ProducerTemplate

settings

CamelSettings settings()
The settings for the CamelExtension

Returns:
(undocumented)

supervisor

ActorRef supervisor()
INTERNAL API Returns the camel supervisor actor.

Returns:
(undocumented)

system

ActorSystem system()
INTERNAL API Returns the associated ActorSystem.

Returns:
(undocumented)