// Static --------------------------------------------------------
private void startHornetQServer(final String acceptorFactory) throws Exception
{
Configuration conf = createBasicConfig();
conf.setSecurityEnabled(false);
conf.setJMXManagementEnabled(true);
conf.getAcceptorConfigurations().add(new TransportConfiguration(acceptorFactory));
server = HornetQServers.newHornetQServer(conf, mbeanServer, true);
server.start();
context = new InVMContext();
serverManager = new JMSServerManagerImpl(server);