akka.camel

CamelExtension

object CamelExtension extends ExtensionId[Camel] with ExtensionIdProvider

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(...)
Source
Camel.scala
See also

akka.actor.ExtensionIdProvider

akka.actor.ExtensionId

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CamelExtension
  2. ExtensionIdProvider
  3. ExtensionId
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(system: ActorSystem): Camel

    Returns an instance of the extension identified by this ExtensionId instance.

    Returns an instance of the extension identified by this ExtensionId instance.

    Definition Classes
    ExtensionId
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def createExtension(system: ExtendedActorSystem): Camel

    Creates a new instance of Camel and makes sure it gets stopped when the actor system is shutdown.

    Creates a new instance of Camel and makes sure it gets stopped when the actor system is shutdown.

    Definition Classes
    CamelExtensionExtensionId
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. final def equals(other: Any): Boolean

    Definition Classes
    ExtensionId → AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def get(system: ActorSystem): Camel

    Returns an instance of the extension identified by this ExtensionId instance.

    Returns an instance of the extension identified by this ExtensionId instance. Java API For extensions written in Scala that are to be used used from Java also, this method should be overridden to get correct return type.

    override def get(system: ActorSystem): TheExtension = super.get(system)
    Definition Classes
    CamelExtensionExtensionId
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. final def hashCode(): Int

    Definition Classes
    ExtensionId → AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def lookup(): ExtensionId[Camel]

    Returns the canonical ExtensionId for this Extension

    Returns the canonical ExtensionId for this Extension

    Definition Classes
    CamelExtensionExtensionIdProvider
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ExtensionIdProvider

Inherited from ExtensionId[Camel]

Inherited from AnyRef

Inherited from Any

Ungrouped