MessageReference ref = createReference(0, false, "payload");
SimpleDeliveryObserver observer = new SimpleDeliveryObserver();
// non-transacted send, non-reliable message, one message
Delivery delivery = queue.handle(observer, ref, null);
List stored = queue.browse(null);
assertEquals(1, stored.size());
Message sm = (Message)stored.iterator().next();