Unit test production route in Apache Camel using mock endpoints

A previous article was focused on Apache Camel aggregation component, its new JDBC persistent repository more precisely. The sample provided includes a unit test which uses multiple good practices to test Camel routes. Let’s analyse them one by one.

Have a test spring context

The main idea is to keep unit test as simple as [...]

JDBC Persistence for Camel Aggregator

The aggregator is a powerful component in the Camel toolbox. Since version 2.6, it has been enriched with a new persistence capability. As shown in the article it is quite easy to use. Feel free to test/use it and tell us what you think about it. [...]