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

Bean - Improve choose method logic for no parameter methods

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.10.0, 2.11.0
    • Fix Version/s: 2.10.5, 2.11.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      We should optimize the logic and if a method name with no parameters has been defined, eg

      .to("bean:myBean?method=foo()")
      

      Or in ognl's such as

      .when().simple("${body.foo()} != null").to("direct:foo")
      

      Then we should optimize the logic to filter out methods with methods, as foo has been declare with no methods explicit by ().

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: