2.3.2. retain.oldxabehaviour

This system property controls the type of exception thrown by a JMS XAResource in the event that the prepare() method is called after the connection is broken. Set this property when starting the server via the command line by using the -D option.
If this property is not defined, an XAException with an XA_RBCOMMFAIL error code will be thrown. Otherwise an XAException with an XA_RETRY error code will be thrown. It should be noted that JBoss Messaging does not define this property by default.