Book Image

Mastering Apache Camel

By : Bilgin Ismet Ibryam, Jean Baptiste Onofre, Jean-Baptiste Onofré
5 (1)
Book Image

Mastering Apache Camel

5 (1)
By: Bilgin Ismet Ibryam, Jean Baptiste Onofre, Jean-Baptiste Onofré

Overview of this book

Table of Contents (15 chapters)
Mastering Apache Camel
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 6. Components and Endpoints

In the previous chapters, we have seen how to implement mediation logic and routing using processors or beans. However, both expect an incoming Exchange. It's one of the key purposes of the components and endpoints—a component creates endpoints. We have two kinds of endpoints—the producer responsible for creating Exchanges and the consumer who consumes incoming Exchanges.

The components and endpoints are responsible for:

  • Interacting with the external systems and Exchanges

  • Providing and handling specific data formats or transformation

To understand these concepts, we will cover the following topics:

  • What are components and endpoints?

  • Existing components and how to use them

  • How to create our own component and endpoints