You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/04/15 08:51:25 UTC

[jira] [Created] (CAMEL-9870) bean component - Add validation for parenthesis check

Claus Ibsen created CAMEL-9870:
----------------------------------

             Summary: bean component - Add validation for parenthesis check
                 Key: CAMEL-9870
                 URL: https://issues.apache.org/jira/browse/CAMEL-9870
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.18.0


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
{code}
 <bean ref="invoiceService" method="addNote(${body}, ${header.note}"/>
{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)