Package org.ow2.jonas.camel.component

Class Summary
CamelServlet Generic CAMEL servlet, that can be for example used for REST endpoints.
DefaultTraceEventMessageToStringProcessor  
FailureResistentExceptionHandlerProcessor Camel processor for error handling which is resistent to failures.

Let's assume a route like the following: from("file:///a?delete=true").to("file:///b");
onException(Throwable.class).handled(true).to("file:///data/error");
If for some reason the /data/error folder is not accessible, the onException clause will stop; but will have set handled to true.
HttpClientProcessor HTTP client processor, which can replace the CAMEL http processor.
MessageFormatter  
ProducerProcessorUsingBundleClassLoader CAMEL producer with the bundle's ClassLoader.
RegistryInjector  
RouteBuilderComponent iPOJO component that creates a CAMEL context with: CAROL classes accessed, so that the BND tool automatically adds CAROL-related classes to the bundle's Import-Package declarations All CAMEL XML registry files and XML registry property files read from $JONAS_BASE/conf and injected into the CAMEL context The local JNDI registry added to the CAMEL context's registry, to ease lookups with the jdbc component for instance The JMS component bound on the JNDI registry The bundle's ClassLoader positioned on the current thread, to avoid any class loading issues with dynamic components such as JNDI, JMS or CXF The CAMEL trace component logging into the logger named TRACE_LOGGER_NAME If traceDestination is not null, traces also sending a message to that endpoint In order to use it: Override the configure() method, making sure you first call super.configure() in your implementation Make sure the org.ow2.jonas.camel.component package is in your bundle's Private-Package list Make sure the metadata.xml file has the required definitions:
 



Copyright © 2013 OW2 Consortium. All Rights Reserved.