locator = createInVMNonHALocator();
locator.setBlockOnNonDurableSend(true);
locator.setBlockOnDurableSend(true);
locator.setBlockOnAcknowledge(true);
sf = locator.createSessionFactory();
queue = server.locateQueue(ADDRESS);
sf = locator.createSessionFactory();
session = sf.createSession(false, false, false);