Atomikos Forum |
|
The JMS sessionTransacted flag has long been a source of confusion. Atomikos JMS classes have always required the transacted flag to be set to 'true' in order for XA-capable sessions to be created...
For the 3.9 release we've changed this: XA sessions are now returned regardless the flag. However, there are cases where backward compatibility is required so we need an extra configuration property on the ConnectionFactory called 'ignoreSessionTransactedFlag' (or similar). When set to true, the new behavior will apply and XA sessions are created in any case. When set to false, the old behavior will apply. QUESTION: so what should the DEFAULT value of 'ignoreSessionTransactedFlag' be? True (requiring older configs to add an extra setting to be compatible) or false (requiring extra configuration to get the new behavior)? Thank you! |