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 9. Using transactions

This chapter covers

  • Why you need transactions
  • How to use and configure transactions
  • The differences between local and global transactions
  • How to return custom reply messages on rollback
  • How to compensate when transactions aren’t supported

To help explain what transactions are, let’s look at an example from real life. You may well have ordered this book from Manning’s online bookstore, and if you did, you likely followed these steps:

  1. Find the book Camel in Action
  2. Put the book into the basket
  3. Maybe continue shopping and look for other books
  4. Go to the checkout
  5. Enter shipping and credit card details
  6. Confirm the purchase
  7. Wait for the confirmation
  8. Leave the web store

What seems like an everyday scenario ...

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