// no active JTA transaction here
XASession xs = xconn.createXASession();
MessageConsumer c = xs.createConsumer(queue1);
// the message should be store unacked in the local session
TextMessage rm = (TextMessage)c.receive(1000);
assertEquals("one", rm.getText());