|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Route to the given context, by providing a
RouteBuilder
Entry
Registry
JAXBElement<Registry>}
CompositeRegistry containing the current context of the
registry , added in first position, plus a SimpleRegistry where
all entries parsed from xml files will be stored.
SimpleRegistry containing entries parsed from xml files.
camel*.properties files in
JONAS_BASE/conf merged with
RouteBuilderComponent.registryReplacements.
SimpleRegistry with lazy lookup.Registry for looking OSGi services.Registry for a given CamelContext.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: <ipojo ...
...- RouteBuilderComponent(BundleContext) -
Constructor for class org.ow2.jonas.camel.component.RouteBuilderComponent
- Saves the bundle context and gets the JONAS_BASE/conf folder.
- run() -
Method in class org.ow2.jonas.camel.wrapper.CamelWrapper
- Main method.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||