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:
- Find the book Camel in Action
- Put the book into the basket
- Maybe continue shopping and look for other books
- Go to the checkout
- Enter shipping and credit card details
- Confirm the purchase
- Wait for the confirmation
- Leave the web store
What seems like an everyday scenario ...
Get Camel in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.