Package akka.camel

Class CamelExtension

  • public class CamelExtension
    extends java.lang.Object
    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)

    See Also:
    ExtensionId, ExtensionIdProvider
    • Constructor Detail

      • CamelExtension

        public CamelExtension()
    • Method Detail

      • createExtension

        public static Camel createExtension​(ExtendedActorSystem system)
        Creates a new instance of Camel and makes sure it gets stopped when the actor system is shutdown.
        system - (undocumented)
      • apply

        public static T apply​(ActorSystem system)
      • hashCode

        public static final int hashCode()
      • equals

        public static final boolean equals​(java.lang.Object other)