Atomikos Forum

Question to the community: the JMS sessionTransacted flag

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!
Guy Pardon Send private email
Saturday, November 02, 2013
 
 
+1 default to true
Giampaolo Tranchida Send private email
Sunday, November 03, 2013
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics