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

Bean - Improve choose method logic for no parameter methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.10.0, 2.11.0
    • 2.10.5, 2.11.0
    • camel-core
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: