public class CamelExtension
extends java.lang.Object
For example:
val system = ActorSystem("some system")
val camel = CamelExtension(system)
camel.context.addRoutes(...)
ExtensionId
,
ExtensionIdProvider
Constructor and Description |
---|
CamelExtension() |
Modifier and Type | Method and Description |
---|---|
static T |
apply(ActorSystem system) |
static Camel |
createExtension(ExtendedActorSystem system)
Creates a new instance of Camel and makes sure it gets stopped when the actor system is shutdown.
|
static boolean |
equals(java.lang.Object other) |
static Camel |
get(ActorSystem system) |
static int |
hashCode() |
static ExtensionId<Camel> |
lookup() |
public static Camel createExtension(ExtendedActorSystem system)
system
- (undocumented)public static ExtensionId<Camel> lookup()
public static Camel get(ActorSystem system)
public static T apply(ActorSystem system)
public static final int hashCode()
public static final boolean equals(java.lang.Object other)