for (MBeanServer server : servers) {
MBeanServerFactory.releaseMBeanServer(server);
}
}
public void testQueryMbeans() throws Exception {
<BUG>assertEquals(1, mbsc.queryNames(new ObjectName("org.apache.camel" + ":type=routes,*"), null).size());

assertEquals(1, mbsc.queryNames(new ObjectName("org.apache.camel" + ":type=processors,*"), null).size());

}</BUG>
@Override

for (MBeanServer server : servers) {
MBeanServerFactory.releaseMBeanServer(server);
}
}
public void testQueryMbeans() throws Exception {
int routes = mbsc.queryNames(new ObjectName("org.apache.camel" + ":type=routes,*"), null).size();
int processors = mbsc.queryNames(new ObjectName("org.apache.camel" + ":type=processors,*"), null).size();
assertTrue("Should contain routes", routes > 0);
assertTrue("Should contain processors", processors > 0);
}
@Override
