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)