Book description
Camel in Action, Second Edition is the most complete Camel book on the market. Written by core developers of Camel and the authors of the highly acclaimed first edition, this book distills their experience and practical insights so that you can tackle integration tasks like a pro.
About the Technology
Apache Camel is a Java framework that implements enterprise integration patterns (EIPs) and comes with over 200 adapters to third-party systems. A concise DSL lets you build integration logic into your app with just a few lines of Java or XML. By using Camel, you benefit from the testing and experience of a large and vibrant open source community.
About the Book
Camel in Action, Second Edition is the definitive guide to the Camel framework. It starts with core concepts like sending, receiving, routing, and transforming data. It then goes in depth on many topics such as how to develop, debug, test, deal with errors, secure, scale, cluster, deploy, and monitor your Camel applications. The book also discusses how to run Camel with microservices, reactive systems, containers, and in the cloud.
What's Inside
- Coverage of all relevant EIPs
- Camel microservices with Spring Boot
- Camel on Docker and Kubernetes
- Error handling, testing, security, clustering, monitoring, and deployment
- Hundreds of examples in Java and XML
About the Reader
Readers should be familiar with Java. This book is accessible to beginners and invaluable to experts.
About the Authors
Claus Ibsen is a senior principal engineer working for Red Hat specializing in cloud and integration. He has worked on Apache Camel for the last nine years where he heads the project. Claus lives in Denmark.
Jonathan Anstey is an engineering manager at Red Hat and a core Camel contributor. He lives in Newfoundland, Canada.
Quotes
I highly recommend this book to anyone with even a passing interest in Apache Camel. Do take Camel for a ride...and don't get the hump!
- From the Foreword by James Strachan, Creator of Apache Camel
Claus and Jon are great writers, relying on figures and diagrams where needed and presenting lots of code snippets and worked examples.
- From the Foreword by Dr. Mark Little, Technical Director of JBoss
The second edition of this all-time classic is an indispensable companion for your Apache Camel rides.
- Gregor Zurowski, Apache Camel Committer
The absolute best way to learn and use Camel - top to bottom, front to back, and all the way through. Camel is a fantastic tool - every Java coder should have a copy of this book.
- Rick Wagner, Red Hat
An excellent book and the definite reference for experienced engineers.
- Yan Guo, EventBrite
Table of contents
- Cover
- Camel in Action
- Praise for the First Edition
- Copyright
- Dedication
- Foreword
- Foreword
- Foreword to the First Edition
- Preface
- Acknowledgments
- About This Book
- About the Authors
- About the Cover Illustration
-
Part 1: First steps
- Chapter 1: Meeting Camel
- Chapter 2: Routing with Camel
-
Part 2: Core Camel
- Chapter 3: Transforming data with Camel
- Chapter 4: Using beans with Camel
- Chapter 5: Enterprise integration patterns
-
Chapter 6: Using components
- 6.1 Overview of Camel components
- 6.2 Working with files: File and FTP components
- 6.3 Asynchronous messaging: JMS component
- 6.4 Networking: Netty4 component
- 6.5 Working with databases: JDBC and JPA components
- 6.6 In-memory messaging: Direct, Direct-VM, SEDA, and VM components
- 6.7 Automating tasks: Scheduler and Quartz2 components
- 6.8 Working with email
- 6.9 Summary and best practices
-
Part 3: Developing and testing
-
Chapter 7: Microservices
- 7.1 Microservices overview
- 7.2 Running Camel microservices
- 7.3 Calling other microservices
-
7.4 Designing for failures
- 7.4.1 Using the Retry pattern to handle failures
- 7.4.2 Using the Retry pattern without Camel
- 7.4.3 Using Circuit Breaker to handle failures
- 7.4.4 Netflix Hystrix
- 7.4.5 Using Hystrix with Camel
- 7.4.6 Configuring Hystrix
- 7.4.7 Bulkhead pattern
- 7.4.8 Calling other microservices with fault-tolerance
- 7.4.9 Using Camel Hystrix with Spring Boot
- 7.4.10 The Hystrix dashboard
- 7.5 Summary and best practices
- Chapter 8: Developing Camel projects
- Chapter 9: Testing
- Chapter 10: RESTful web services
-
Chapter 7: Microservices
-
Part 4: Going further with Camel
-
Chapter 11: Error handling
- 11.1 Understanding error handling
- 11.2 Using error handlers in Camel
- 11.3 Using error handlers with redelivery
-
11.4 Using exception policies
- 11.4.1 Understanding how onException catches exceptions
- 11.4.2 Understanding how onException works with redelivery
- 11.4.3 Understanding how onException can handle exceptions
- 11.4.4 Custom exception handling
- 11.4.5 New exception while handling exception
- 11.4.6 Ignoring exceptions
- 11.4.7 Implementing an error-handler solution
- 11.4.8 Bridging the consumer with Camel’s error handler
- 11.5 Working with other error-handling features
- 11.6 Summary and best practices
- Chapter 12: Transactions and idempotency
- Chapter 13: Parallel processing
- Chapter 14: Securing Camel
-
Chapter 11: Error handling
-
Part 5 : Running and managing Camel
- Chapter 15: Running and deploying Camel
- Chapter 16: Management and monitoring
-
Part 6: Out in the wild
- Chapter 17: Clustering
-
Chapter 18: Microservices with Docker and Kubernetes
- 18.1 Getting started with Camel on Docker
- 18.2 Getting started with Kubernetes
- 18.3 Running Camel and other applications in Kubernetes
- 18.4 Understanding Kubernetes
- 18.5 Building resilient Camel microservices on Kubernetes
- 18.6 Testing Camel microservices on Kubernetes
- 18.7 Introducing fabric8, Helm, and OpenShift
- 18.8 Summary and best practices
- Chapter 19: Camel tooling
- Chapter 20: Reactive Camel
- Chapter 21: Camel and the IoT
- Appendix A: Simple, the expression language
- Appendix B: The Camel community
- Index
Product information
- Title: Camel in Action, Second Edition
- Author(s):
- Release date: February 2018
- Publisher(s): Manning Publications
- ISBN: 9781617292934
You might also like
book
Camel in Action
NEWER EDITION AVAILABLE Camel in Action, Second Edition is now available. An eBook of this older …
video
Distributed Systems in One Lesson
Simple tasks like running a program or storing and retrieving data become much more complicated when …
book
Building Microservices, 2nd Edition
As organizations shift from monolithic applications to smaller, self-contained microservices, distributed systems have become more fine-grained. …
video
Domain-Driven Design Distilled
Domain-Driven Design (DDD) software modeling delivers powerful results in practice, not just in theory, which is …