Chapter 2. Core Concepts

This chapter introduces the core concepts of Camel. These concepts are the key basis of all functionalities provided by Camel. We will use them in the next chapters. As we have seen in the previous chapter, Camel is an integration framework. This means that it provides everything to implement your mediation logic: messaging, routing, transformation, and connectivity.

We will look at the following concepts:

  • Messages
  • Exchanges
  • Camel contexts

Messages

Messages transport the data between the different parts of the mediation logic. Your mediation logic will define the flow of messages between different nodes.

A message flows in one direction, from a sender to a receiver. It's not possible to use the same message to answer the sender, ...

Get Mastering Apache Camel 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.