Modified XA example in line with feedback from the Atomikos guys.