Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.17.0
-
Component/s: camel-core
-
Labels:None
-
Estimated Complexity:Unknown
Description
You may by mistake use bean: or ref: as prefix when using the method call expression.
For example
.to("bean:foo")
vs
method("foo")
And this is not correct
method("bean:foo") method("ref:foo")
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