// send a message to the queue using an XASession that's not enlisted in a global tx
XAConnectionFactory xcf = (XAConnectionFactory)cf;
XAConnection xconn = xcf.createXAConnection();
XASession xs = xconn.createXASession();
MessageProducer p = xs.createProducer(queue1);
Message m = xs.createTextMessage("one");