Java DSL - bean fluent builder should validate class type given ---------------------------------------------------------------
Key: CAMEL-2846 URL: https://issues.apache.org/activemq/browse/CAMEL-2846 Project: Apache Camel Issue Type: Improvement Components: camel-core Affects Versions: 2.3.0 Reporter: Claus Ibsen Priority: Minor Fix For: 2.4.0 You may by mistake use {code} .bean("myCoolBean") {code} Instead of {code} .beanRef("myCoolBean") {code} To use a reference to a bean. The former will see this as a String class. We should add validation on {{.bean}} to reject any standard Java types. eg all from {{java}}. So you can only pass in custom instances. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.