ManagementPlugin managementPlugin = managementFactory.createInstance(configuration, broker);
if(managementPlugin != null)
{
try
{
managementPlugin.start();
}
catch(Exception e)
{
_logger.error("Management plugin " + managementPlugin.getClass().getSimpleName() + " failed to start normally, stopping it now", e);
managementPlugin.stop();