prepare()method is called after the connection is broken. Set this property via the command line on server startup with the
XA_RBCOMMFAILerror code will be thrown. Otherwise an
XA_RETRYerror code will be thrown. It should be noted that JBoss Messaging does not define this property by default.