public interface RollbackConfiguration
CommandCallback.onFailure(Throwable)
will always be called.Modifier and Type | Method and Description |
---|---|
boolean |
rollBackOn(Throwable throwable)
Decides whether the given
throwable should trigger a rollback. |
boolean rollBackOn(Throwable throwable)
throwable
should trigger a rollback.throwable
- the Throwable to evaluatetrue
if the UnitOfWork should be rolled back, otherwise false
Copyright © 2010-2014. All Rights Reserved.