Summary
In the previous chapters, we used beans (POJO) and processors to implement mediation logic and act as a producer. However, to implement and simplify support of some protocols, systems, data transformations, and so on, Camel components are very convenient and provide easy extension points, which are ready to use in Camel route. This allows you to decouple implementation of the connectivity from the mediation logic.
Utilizing a combination of components (provided or custom), processors, beans, and route definitions provides a complete and powerful mediation framework. However, integration and mediation requires us to address a new challenge—how to handle and process errors that can happen in the mediation. This is what we will see in the next chapter.