assertTrue(xids[0].equals(xid1) || xids[1].equals(xid1));
assertTrue(xids[0].equals(xid2) || xids[1].equals(xid2));
res.commit(xid1, false);
res.commit(xid2, false);
conn3 = cf.createConnection();
Session sessRec = conn3.createSession(false, Session.AUTO_ACKNOWLEDGE);
MessageConsumer cons = sessRec.createConsumer(queue1);