Chapter 8. Transactions and Idempotency

In this chapter, we will cover the following recipes:

  • Preventing duplicate invocation of routing logic
  • Transactional file consumption
  • Using transactions with a database
  • Limiting the scope of a transaction
  • Rolling back a transaction
  • Using transactions with messaging
  • Idempotency inside transactions
  • Setting up XA transactions over multiple transactional resources

Introduction

Systems integration is all about coordinating the interaction between multiple systems in order for them to interact as a larger whole. This interaction forms a distributed system, although people working on integrations tend not to think about what they are building in those terms. Part of the complexity of distributed systems is that they are ...

Get Apache Camel Developer's Cookbook 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.