Property BreakBatchOnError
What a failing batch item does.
true (the default, as in Apache Camel): the batch stops, the whole transaction rolls back and the provider's own
exception is thrown, with the item's index in under .
false: every item runs under a savepoint; a failed item is undone and reported in
, and the other items commit. This needs a local transaction with savepoints, so it
is refused before anything is written inside a transacted route or on a provider without savepoints; and when the
server has ended the transaction (an error that aborts it), the batch still stops with that item's error.
public bool BreakBatchOnError { get; set; }