Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the asciidoc in the repository: https://github.com/apache/camel/blob/master/README.md https://github.com/apache/camel/blob/master/components/readme.adoc
Available as of Camel 2.4
There is a
Here is a custom factory which will alter the processor definitions.
The unit test and route is as follows:
Now the idea is that the
Notice we just return
In Java DSL all you need to do is to configure the custom factory on the CamelContext using the
In Spring XML all you have to do is just to declare a <bean> tag with the custom factory, and Camel will automatic lookup it up and use it.