Package org.kiwiproject.beta.dropwizard
Class ManagedCamelContext
- java.lang.Object
-
- org.kiwiproject.beta.dropwizard.ManagedCamelContext
-
- All Implemented Interfaces:
io.dropwizard.lifecycle.Managed
@Beta public class ManagedCamelContext extends Object implements io.dropwizard.lifecycle.Managed
Provides a DropwizardManagedto start and stop aCamelContextas your application is started and stopped, respectively.
-
-
Constructor Summary
Constructors Constructor Description ManagedCamelContext(String name, org.apache.camel.CamelContext camelContext)Creates a new instance with the given name to be used in log messages.ManagedCamelContext(org.apache.camel.CamelContext camelContext)Creates a new instance with a default name.
-
-
-
Constructor Detail
-
ManagedCamelContext
public ManagedCamelContext(org.apache.camel.CamelContext camelContext)
Creates a new instance with a default name.
-
ManagedCamelContext
public ManagedCamelContext(String name, org.apache.camel.CamelContext camelContext)
Creates a new instance with the given name to be used in log messages.
-
-