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
- Exchange
Session
should be committed,
otherwise falseException
boolean rollback(org.apache.camel.Exchange exchange) throws Exception
exchange
- Exchange
Session
should be committed,
otherwise falseException
Apache Camel