Package 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 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)
      • 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)
      • template

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