|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
jms component is configured to use the
JCF connection factory on JNDI.jdbc.
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.camel*.properties files in JONAS_BASE/conf
merged with RouteBuilderComponent.registryReplacements.
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
RouteBuilderComponent.TRACE_LOGGER_NAME
If RouteBuilderComponent.traceDestination is not null, traces
also sending a message to that endpoint
In order to use it:
Override the RouteBuilderComponent.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: - RouteBuilderComponent(BundleContext) -
Constructor for class org.ow2.jonas.camel.component.RouteBuilderComponent
- Saves the bundle context and gets the JONAS_BASE/conf folder.
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||