[
https://issues.apache.org/jira/browse/CAMEL-9380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen reassigned CAMEL-9380:
----------------------------------
Assignee: Claus Ibsen
> Method call expression - Validate bean name for mistake
> -------------------------------------------------------
>
> Key: CAMEL-9380
> URL: https://issues.apache.org/jira/browse/CAMEL-9380
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.17.0
>
>
> You may by mistake use bean: or ref: as prefix when using the method call
> expression.
> For example
> {code}
> .to("bean:foo")
> {code}
> vs
> {code}
> method("foo")
> {code}
> And this is not correct
> {code}
> method("bean:foo")
> method("ref:foo")
> {code}
> We could maybe in the latter case be lenient and allow using bean: and ref:
> as prefix as its used in endpoints etc so people may mistake and use those in
> the bean id in the method call expression
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)