@Override
protected void initialiseManagedObjectRegistry() throws AMQException
{
if (getConfiguration().getManagementEnabled())
{
setManagedObjectRegistry(new JMXManagedObjectRegistry());
}
else
{
setManagedObjectRegistry(new NoopManagedObjectRegistry());
}