You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (JIRA)" <ji...@apache.org> on 2017/08/25 12:54:00 UTC

[jira] [Created] (CAMEL-11708) spring boot code generation: the nested property processor does not handle object hierarchies

Luca Burgazzoli created CAMEL-11708:
---------------------------------------

             Summary: spring boot code generation: the nested property processor does not handle object hierarchies
                 Key: CAMEL-11708
                 URL: https://issues.apache.org/jira/browse/CAMEL-11708
             Project: Camel
          Issue Type: Bug
          Components: tooling
            Reporter: Luca Burgazzoli
             Fix For: 2.20.0


Assuming you have complex configuration object that inherits from another configuration object, the spring boot code generation will creates the configuration properties object only for the properties of the last class so i.e. for a simple hierarchy like:

{code}
Common {
    String getX()
    void setX(String);
}

Specific extends Common {
    String getY()
    void setY(String);
}
{code}

the generator will provides bindings only for

{code}
    String getX()
    setX(String)
{code}






--
This message was sent by Atlassian JIRA
(v6.4.14#64029)