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 3. Routing and Processors

In the previous chapter, we saw the core concepts of implementing the messaging and routing system provided by Camel.

In this chapter we will cover routing—one of the most important features of Camel. Without the routing, Camel would be a simple connectivity framework. Routing is a key function of Camel, it means we can apply all the transformations to a message. It can modify the content of the message itself or the destination of the message, all on the fly.

This chapter introduces:

  • How to use a processor to change an exchange

  • A complete example of a route containing a processor