Modified XA example with the changes for 3.9.1 of Atomikos.