|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.camel.builder.BuilderSupport
org.apache.camel.builder.RouteBuilder
org.ow2.jonas.camel.component.RouteBuilderComponent
org.ow2.jonas.camel.example.servlet.ExampleCamelServlet
public class ExampleCamelServlet
Example to show how to declare a servlet to handle HTTP requests
| Field Summary | |
|---|---|
static String |
SERVLET_ENDPOINT
Camel internal endpoint on which the http request is forwarded from the servlet. |
static String |
SERVLET_PATH
Servlet path. |
| Fields inherited from class org.ow2.jonas.camel.component.RouteBuilderComponent |
|---|
bundleContext, camelContextName, camelService, registryReplacements, TRACE_LOGGER_NAME, traceDestination |
| Constructor Summary | |
|---|---|
ExampleCamelServlet(org.osgi.framework.BundleContext bundleContext)
|
|
| Method Summary | |
|---|---|
void |
configure()
|
void |
start()
Register the Consumer servlet. |
| Methods inherited from class org.ow2.jonas.camel.component.RouteBuilderComponent |
|---|
configureCamelComponents, getConfigurationFolder, getFileEndpointFile, getRegistryPropertyOrReplacement, getRouteName, setCamelService, stop |
| Methods inherited from class org.apache.camel.builder.RouteBuilder |
|---|
addRoutes, addRoutesToCamelContext, checkInitialized, configureRoute, configureRoutes, createContainer, errorHandler, from, from, from, from, fromF, getContext, getRouteCollection, includeRoutes, intercept, interceptFrom, interceptFrom, interceptSendToEndpoint, onCompletion, onException, onException, populateRoutes, setErrorHandlerBuilder, setRouteCollection, toString |
| Methods inherited from class org.apache.camel.builder.BuilderSupport |
|---|
bean, bean, bean, bean, body, body, constant, createErrorHandlerBuilder, deadLetterChannel, deadLetterChannel, defaultErrorHandler, endpoint, endpoint, endpoints, endpoints, exceptionMessage, faultBody, faultBodyAs, getErrorHandlerBuilder, header, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, noErrorHandler, outBody, outBody, property, regexReplaceAll, regexReplaceAll, sendTo, setContext, simple, systemProperty, systemProperty, xpath |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String SERVLET_PATH
public static final String SERVLET_ENDPOINT
| Constructor Detail |
|---|
public ExampleCamelServlet(org.osgi.framework.BundleContext bundleContext)
| Method Detail |
|---|
public void start()
throws Throwable
start in class RouteBuilderComponentThrowable
public void configure()
throws Exception
configure in class RouteBuilderComponentException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||