Details
-
Enhancement
-
Resolution: Done
-
Minor
-
None
-
None
-
None
Description
If you attach the JVM to a pure Apache Camel application, then you can of course inspect it. But the "Start tracing" option cannot work as this is a Fuse MR exclusive feature.
If you try to do this on a pure Apache Camel you get a NPE exception in Fuse IDE
java.lang.NullPointerException at com.fusesource.ide.fabric.camel.navigator.CamelContextNode.startTracing(CamelContextNode.java:183) at com.fusesource.ide.fabric.camel.navigator.CamelContextNode$6.run(CamelContextNode.java:301) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
We should either explain to the user that this option is only avaialble for the Fuse MR version. Or do not show the menu option.
You can check if its a Fuse Camel, by the getVersion on the CamelContextMBean. If its a fuse version, then there is fuse in the version number.