Interface RollbackConfiguration
- All Known Implementing Classes:
RollbackConfigurationType
public interface RollbackConfiguration
The RollbackConfiguration defines if a Unit of Work should be rolled back when an exception is raised during the
processing of a Message.
Note that the Unit of Work will always throw any exceptions raised during processing, regardless of whether or not
the Unit of Work is rolled back.
- Since:
- 1.1
- Author:
- Martin Tilma
-
Method Summary
Modifier and TypeMethodDescriptionbooleanrollBackOn(Throwable throwable) Decides whether the giventhrowableshould trigger a rollback.
-
Method Details
-
rollBackOn
Decides whether the giventhrowableshould trigger a rollback.- Parameters:
throwable- the Throwable to evaluate- Returns:
trueif the UnitOfWork should be rolled back,falseotherwise
-