Connecting routes (Simple)
A Camel route is the minimum self contained unit of messaging logic. It has a beginning, one or many processing steps, an end, its own lifecycle, error handlers, and so on. Any integration application of a reasonable size consists of multiple routes working simultaneously to achieve a common goal. In many terms, routes are similar to objects in the object oriented world. Routes have responsibilities and also interact with their peers, hosted on the same CamelContext
or even a separate CamelContext
in the same JVM. In this tutorial, we are going to see how to connect routes with one another and other Java codes.
Getting ready
The complete source code for this tutorial is located under the project, camel-message-routing-examples/connecting-routes ...
Get Instant Apache Camel Message Routing now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.