public abstract class KuraRouter
extends org.apache.camel.builder.RouteBuilder
implements org.osgi.framework.BundleActivator
| Modifier and Type | Field and Description |
|---|---|
protected org.osgi.framework.BundleContext |
bundleContext |
protected org.apache.camel.CamelContext |
camelContext |
protected org.slf4j.Logger |
log |
protected org.apache.camel.ProducerTemplate |
producerTemplate |
| Constructor and Description |
|---|
KuraRouter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
beforeStart(org.apache.camel.CamelContext camelContext) |
protected org.apache.camel.CamelContext |
createCamelContext() |
protected <T> T |
service(Class<T> serviceType) |
void |
start(org.osgi.framework.BundleContext bundleContext) |
void |
stop(org.osgi.framework.BundleContext bundleContext) |
addRoutes, addRoutesToCamelContext, checkInitialized, configure, configureRest, configureRests, configureRoute, configureRoutes, createContainer, errorHandler, from, from, from, from, fromF, getContext, getRestCollection, getRestConfiguration, getRouteCollection, includeRoutes, intercept, interceptFrom, interceptFrom, interceptSendToEndpoint, onCompletion, onException, onException, populateRests, populateRoutes, rest, rest, restConfiguration, setErrorHandlerBuilder, setRestCollection, setRouteCollection, toStringbean, bean, bean, bean, body, body, constant, createErrorHandlerBuilder, deadLetterChannel, deadLetterChannel, defaultErrorHandler, endpoint, endpoint, endpoints, endpoints, exceptionMessage, exchangeProperty, faultBody, faultBodyAs, getErrorHandlerBuilder, header, language, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, method, method, method, method, noErrorHandler, outBody, outBody, property, regexReplaceAll, regexReplaceAll, sendTo, setContext, setContext, simple, simple, systemProperty, systemProperty, xpath, xpathprotected final org.slf4j.Logger log
protected org.osgi.framework.BundleContext bundleContext
protected org.apache.camel.CamelContext camelContext
protected org.apache.camel.ProducerTemplate producerTemplate
public void start(org.osgi.framework.BundleContext bundleContext)
throws Exception
start in interface org.osgi.framework.BundleActivatorExceptionpublic void stop(org.osgi.framework.BundleContext bundleContext)
throws Exception
stop in interface org.osgi.framework.BundleActivatorExceptionprotected org.apache.camel.CamelContext createCamelContext()
protected void beforeStart(org.apache.camel.CamelContext camelContext)
protected <T> T service(Class<T> serviceType)
Apache Camel