The setTreatAsNonTransactedWhenNotEnlisted was a hack to couple with TCK and the way that JCA would interact with JMS.
We had to add that hack as we couldn't change the JCA code.
But the use of the attribute on the Bridge seems non related to this. You probably need to make sure you aways have XA on the test. (Maybe the test is not valid for JBM2?)