public class CamelExtension$ extends java.lang.Object implements akka.actor.ExtensionId<Camel>, akka.actor.ExtensionIdProvider
For example:
val system = ActorSystem("some system")
val camel = CamelExtension(system)
camel.context.addRoutes(...)
ExtensionId,
| Modifier and Type | Field and Description |
|---|---|
static CamelExtension$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
| Constructor and Description |
|---|
CamelExtension$() |
| Modifier and Type | Method and Description |
|---|---|
Camel |
createExtension(akka.actor.ExtendedActorSystem system)
Creates a new instance of Camel and makes sure it gets stopped when the actor system is shutdown.
|
Camel |
get(akka.actor.ActorSystem system) |
akka.actor.ExtensionId<Camel> |
lookup() |
public static final CamelExtension$ MODULE$
public Camel createExtension(akka.actor.ExtendedActorSystem system)
createExtension in interface akka.actor.ExtensionId<Camel>system - (undocumented)public akka.actor.ExtensionId<Camel> lookup()
lookup in interface akka.actor.ExtensionIdProvider