// notify uow callback if in use
try {
SubUnitOfWorkCallback uowCallback = getSubUnitOfWorkCallback();
if (uowCallback != null) {
uowCallback.onDone(exchange);
}
} catch (Throwable e) {
// must catch exceptions to ensure synchronizations is also invoked
log.warn("Exception occurred during savepoint onDone. This exception will be ignored.", e);
}