This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a change to branch fix/CAMEL-24775
in repository https://gitbox.apache.org/repos/asf/camel.git


    from bcdc2882f969 CAMEL-24775: camel-core - the type (class name) of a bean 
created by a script or a builder is optional in the model, the XML and YAML 
schemas and the YAML loader, as it is for the runtime and the Java DSL; a class 
or factory bean without a type fails with an exception naming the bean instead 
of a NullPointerException
     add c692f4bc815f CAMEL-24775: Address review feedback: bind() creates 
route template and kamelet local beans from a builderClass as newInstance() 
does (it fell through to the invalid-type exception before, with or without a 
type), the YAML beans deserializer detects a script bean with the same && as 
newInstance(), and the Spring test fixture ends with a newline

No new revisions were added by this update.

Summary of changes:
 .../SpringTemplatedRouteScriptBeanNoTypeTest.xml   |  2 +-
 .../org/apache/camel/model/BeanModelHelper.java    | 45 +++++++++++++++++++
 .../camel/builder/RouteTemplateLocalBeanTest.java  | 51 ++++++++++++++++++++++
 .../dsl/yaml/deserializers/BeansDeserializer.java  |  4 +-
 .../apache/camel/dsl/yaml/RouteTemplateTest.groovy | 44 +++++++++++++++++++
 5 files changed, 143 insertions(+), 3 deletions(-)

Reply via email to