|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.camel.CamelExtension
public class CamelExtension
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(...)
ExtensionId
,
Constructor Summary | |
---|---|
CamelExtension()
|
Method Summary | |
---|---|
static Camel |
createExtension(ExtendedActorSystem system)
Creates a new instance of Camel and makes sure it gets stopped when the actor system is shutdown. |
static Camel |
get(ActorSystem system)
|
static ExtensionId<Camel> |
lookup()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface akka.actor.ExtensionId |
---|
apply, createExtension, equals, get, hashCode |
Methods inherited from interface akka.actor.ExtensionIdProvider |
---|
lookup |
Constructor Detail |
---|
public CamelExtension()
Method Detail |
---|
public static Camel createExtension(ExtendedActorSystem system)
system
- (undocumented)
public static ExtensionId<Camel> lookup()
public static Camel get(ActorSystem system)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |