camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10951) Invalid default field values in Spring Boot ComponentConfiguration classes
Date Tue, 07 Mar 2017 09:09:33 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-10951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15899010#comment-15899010
] 

Claus Ibsen commented on CAMEL-10951:
-------------------------------------

Just to be sure this is only a problem on master branch? 2.18.x are fine right?

> Invalid default field values in Spring Boot ComponentConfiguration classes
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-10951
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10951
>             Project: Camel
>          Issue Type: Bug
>          Components: build system
>    Affects Versions: 2.19.0
>            Reporter: James Netherton
>            Assignee: Nicola Ferraro
>             Fix For: 2.19.0
>
>
> Some components default their endpoint configuration using constant fields. For example,
the camel-mail {{MailConfiguration}} class has:
> {code}
> private String from = MailConstants.MAIL_DEFAULT_FROM;
> {code}
> When the MailComponentConfiguration is generated, it has a field defaulted as follows:
> {code}
> private String from = "MailConstants.MAIL_DEFAULT_FROM";
> {code}
> Not sure exactly how many components are impacted by this but there's a few listed if
you do:
> {code}
> grep "DEFAULT" $(find . -name "*ComponentConfiguration.java")
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message