@Override protected void loadChildren() { try { List<CamelContextMBean> camelContexts = facade.getCamelContexts(); if (camelContexts != null) { for (CamelContextMBean camelContextMBean : camelContexts) { CamelContextNode child = new CamelContextNode(this, facade, camelContextMBean); addChild(child); } } } catch (Exception e) { CamelJMXPlugin.getLogger().warning("Failed to connect to JMX: " + e, e); } }
@Override public Image getImage() { return CamelJMXPlugin.getDefault().getImage("camel.png"); }