Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Apache Camel

You're reading from  Mastering Apache Camel

Product type Book
Published in Jun 2015
Publisher Packt
ISBN-13 9781782173151
Pages 238 pages
Edition 1st Edition
Languages
Concepts
Authors (3):
Bilgin Ismet Ibryam Bilgin Ismet Ibryam
Profile icon Bilgin Ismet Ibryam
Jean Baptiste Onofre Jean Baptiste Onofre
Profile icon Jean Baptiste Onofre
Jean-Baptiste Onofré Jean-Baptiste Onofré
Profile icon Jean-Baptiste Onofré
View More author details

Routes


The Camel route is the routing definition. It's a graph of processors. The routes (routing definition) are loaded in the Camel context. The execution and flow of the exchange in a route is performed by the routing engine. The routes are used to decouple clients from servers, and producers from consumers: an exchange consumer doesn't know where the exchange comes from, and on the other hand an exchange producer doesn't know the destination of the exchange. Thanks to that, it provides a flexible way to add extra processing or change the routing with limited impact on the logic.

Each route has a unique identifier that you can specify (or Camel will create one for you). This identifier is used to easily find the route, especially when you want to log, debug, monitor, or manage a route (start or stop).

A route has exactly one input source (the input endpoint). A route has a life cycle similar to the Camel context with the same states: started, stopped, and suspended. To Camel, a context...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}