O'Reilly logo

Mastering Apache Camel by Jean-Baptiste Onofré

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Messaging systems EIPs

Messaging systems EIPs gather all patterns related to the delivery of messages, which are moving along in the routing logic.

Message Channel

The Message Channel EIP is the generic name for the communication between endpoints in a Camel route.

In the examples of the previous chapters, we used endpoints with the following syntax:

component:option?key=value&key=value

For instance, we can have a route as follows:

<from uri="timer:fire?period=5000"/>
<to uri="log:myLog"/>

This route uses two endpoints (timer and log). Camel implicitly creates a Message Channel between the two endpoints.

The purpose is to decouple the endpoint producing the message from the application consuming the message.

This EIP is actually used in basically all routes ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required