Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-333

Tracing a running Camel app is only possible for Fuse MR and not the Apache version

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 2.0
    • 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.

      Attachments

        Activity

          People

            jastrachan_jira James Strachan (Inactive)
            cibsen@redhat.com Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: