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

bean component - Add validation for parenthesis check

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.18.0
    • camel-core
    • None
    • Unknown

    Description

      If you specify a method to call and provide parameters with (1, 2) then we should validate that there is a pair.

      You may mistake and forget the last parenthesis such as

       <bean ref="invoiceService" method="addNote(${body}, ${header.note}"/>
      

      See nabble
      http://camel.465427.n5.nabble.com/Apache-Camel-bean-parameter-binding-issue-with-Spring-DSL-tp5772200.html

      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: