else serverManager = new JMSServerManagerImpl(hornetQServer, jmsConfigResourcePath);
if (registry == null)
{
if (context != null) registry = new JndiBindingRegistry(context);
else registry = new MapBindingRegistry();
}
serverManager.setRegistry(registry);
serverManager.start();
}