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 via the command line on server startup with 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.