Tutorial by Examples

The following route has a simple goal : First, it checks if and ImportDocumentProcess object is present in the database and adds it as an exchange header Then, it adds an ImportDocumentTraitement (Which is linked to the previous ImportDocumentProcess) in the database Here is the code of this ...
The processor just contains just contains the methods needed by the route. It is just a classic Java Bean containing several methods. You can also implement Processor and override the process method. See the code below : @Component("testExampleProcessor") public class TestExampleProcess...
Don't forget to add the camel test support and spring camel test support to your project dependencies. See the following for maven users : <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-test</artifactId> <version>${camel.version}...

Page 1 of 1