Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.18.2
-
Fix Version/s: 2.18.3
-
Component/s: build system
-
Labels:None
-
Estimated Complexity:Unknown
Description
Some components default their endpoint configuration using constant fields. For example, the camel-mail MailConfiguration class has:
private String from = MailConstants.MAIL_DEFAULT_FROM;
When the MailComponentConfiguration is generated, it has a field defaulted as follows:
private String from = "MailConstants.MAIL_DEFAULT_FROM";
Not sure exactly how many components are impacted by this but there's a few listed if you do:
grep "DEFAULT" $(find . -name "*ComponentConfiguration.java")