@Test
public void testListEips() throws Exception {
// JMX tests dont work well on AIX CI servers (hangs them)
if (isPlatform("aix")) {
return;
}
MBeanServer mbeanServer = getMBeanServer();
ObjectName on = ObjectName.getInstance("org.apache.camel:context=19-camel-1,type=context,name=\"camel-1\"");
assertTrue("Should be registered", mbeanServer.isRegistered(on));
@SuppressWarnings("unchecked")
TabularData data = (TabularData) mbeanServer.invoke(on, "listEips", null, null);
assertNotNull(data);
assertTrue(data.size() > 150);
}
SpringManagedCamelContextTest.java 文件源码
java
阅读 18
收藏 0
点赞 0
评论 0
项目:Camel
作者:
评论列表
文章目录