This content has been marked as final.
Show 3 replies
-
1. Re: how to programmatically configure the TransactionMode to the values like FULL_XA, NON_DURABLE_XA, NON_XA, NONE
rvansa Feb 15, 2017 5:07 AM (in response to sdcf_2006)1 of 1 people found this helpfulNONE = transactionMode(NON_TRANSACTIONAL)
NON_XA = transactionMode(TRANSACTIONAL).useSynchronization(false).recovery().enabled(false)
NON_DURABLE_XA = transactionMode(TRANSACTIONAL).useSynchronization(true).recovery().enabled(false)
FULL_XA = transactionMode(TRANSACTIONAL).useSynchronization(true).recovery().enabled(true)
-
2. Re: how to programmatically configure the TransactionMode to the values like FULL_XA, NON_DURABLE_XA, NON_XA, NONE
sdcf_2006 Feb 15, 2017 6:30 AM (in response to rvansa)Brilliant, so the class below is not useful right now?
-
3. Re: how to programmatically configure the TransactionMode to the values like FULL_XA, NON_DURABLE_XA, NON_XA, NONE
nadirx Feb 15, 2017 6:35 AM (in response to sdcf_2006)It is used by the XML parser. We should probably provide helper programmatic APIs to the configuration builder to simplify this