|
|||||||||
| 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.jms.ExampleJMS
public class ExampleJMS
A simple example on how to use the camel service on JOnAS 5.
| Field Summary |
|---|
| Fields inherited from class org.ow2.jonas.camel.component.RouteBuilderComponent |
|---|
bundleContext, camelContextName, camelService, registryReplacements, TRACE_LOGGER_NAME, traceDestination |
| Constructor Summary | |
|---|---|
ExampleJMS(org.osgi.framework.BundleContext bundleContext)
Constructor: saves the BundleContext. |
|
| Method Summary | |
|---|---|
void |
configure()
Add routes to the CAMEL context. |
void |
start()
Saves the $JONAS_BASE/logs directory, calls
RouteBuilderComponent.start() and launches a self-test. |
void |
test()
Test the route. |
| Methods inherited from class org.ow2.jonas.camel.component.RouteBuilderComponent |
|---|
getConfigurationFolder, getFileEndpointFile, 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, systemProperty, systemProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExampleJMS(org.osgi.framework.BundleContext bundleContext)
| Method Detail |
|---|
public void start()
throws java.lang.Throwable
$JONAS_BASE/logs directory, calls
RouteBuilderComponent.start() and launches a self-test.
start in class org.ow2.jonas.camel.component.RouteBuilderComponentjava.lang.Throwable
public void configure()
throws java.lang.Exception
configure in class org.ow2.jonas.camel.component.RouteBuilderComponentjava.lang.Exception
public void test()
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||