O'Reilly logo

Camel in Action by Jonathan Anstey, Claus Ibsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Error handling

This chapter covers

  • The difference between recoverable and irrecoverable errors
  • Where and when Camel’s error handling applies
  • The different error handlers in Camel
  • Using redelivery policies
  • Handling and ignoring exceptions with onException
  • Fine-grained control of error handling

In the last three chapters, we’ve covered three key functions that any integration kit should provide: routing, transformation, and mediation. In this chapter, we turn our focus to what happens when things go wrong. We want to introduce you to error handling early in this book, because we firmly believe that error handling should not be an afterthought but a key piece in your design from the start.

Writing applications that integrate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required