|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TransactionCommitStrategy
Provides a entry point into the transaction
Synchronization workflow that will allow a user
to control when the Session commit operation is executed.
| Method Summary | |
|---|---|
boolean |
commit(org.apache.camel.Exchange exchange)
Should returns true to allow the commit to proceed. |
boolean |
rollback(org.apache.camel.Exchange exchange)
Should returns true to allow the commit to proceed. |
| Method Detail |
|---|
boolean commit(org.apache.camel.Exchange exchange)
throws Exception
exchange - Exchange
Session should be committed,
otherwise false
Exception
boolean rollback(org.apache.camel.Exchange exchange)
throws Exception
exchange - Exchange
Session should be committed,
otherwise false
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||