try
{
server = createServer(true, isNetty());
server.start();
QueueFactory original = server.getQueueFactory();
((HornetQServerImpl)server).replaceQueueFactory(new NoPostACKQueueFactory(server.getStorageManager(),
server.getPostOffice(),
server.getScheduledPool(),
server.getAddressSettingsRepository(),