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