https://issues.jboss.org/browse/JBTM-1511

Dynamic 1PC optimisation.