public interface TransactionCommitStrategy
Synchronization workflow that will allow a user
to control when the Session commit operation is executed.boolean commit(org.apache.camel.Exchange exchange)
throws Exception
exchange - ExchangeSession should be committed,
otherwise falseExceptionboolean rollback(org.apache.camel.Exchange exchange)
throws Exception
exchange - ExchangeSession should be committed,
otherwise falseExceptionApache Camel