Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8992

EIPs with Expression - Allow to detail those in jmx friendly information

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.16.0
    • camel-core, jmx
    • None
    • Unknown

    Description

      The various EIPs have mbeans that exposes details about those processors. However when they use expression/predicate we only have the actual created instances of those available for JMX.

      That means they cannot reverse engineer or represent in a format that is better understood by humans/jmx/toolings.

      For example

                      from("direct:start")
      .pollEnrich().simple("seda:${header.whereto}").timeout(1000).id("mysend")
                          .to("mock:foo");
      

      The simple expression on poll enrich becomes

              String uri = (String) mbeanServer.getAttribute(on, "Expression");
              assertEquals("Simple: seda:${header.whereto}", uri);
      

      Ideally we should have two information

      • the language used for the expression
      • the value as-is

      So we can show that its simple language with the value "seda:${header.whereto}"

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: