public class CamelContextFactory extends Object implements org.springframework.osgi.context.BundleContextAware
Constructor and Description |
---|
CamelContextFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.impl.DefaultCamelContext |
createContext() |
org.osgi.framework.BundleContext |
getBundleContext() |
org.apache.camel.spi.Registry |
getRegistry() |
protected org.apache.camel.impl.DefaultCamelContext |
newCamelContext() |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext) |
void |
setRegistry(org.apache.camel.spi.Registry registry) |
public CamelContextFactory()
public org.osgi.framework.BundleContext getBundleContext()
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
setBundleContext
in interface org.springframework.osgi.context.BundleContextAware
public org.apache.camel.spi.Registry getRegistry()
public void setRegistry(org.apache.camel.spi.Registry registry)
protected org.apache.camel.impl.DefaultCamelContext newCamelContext()
public org.apache.camel.impl.DefaultCamelContext createContext()
Apache Camel