Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.4.2
-
None
-
Unknown
Description
When assign the following line in application.properties, the property doesn't get set.
camel.component.salesforce.packages=com.companyname.camel.salesforce.dto
The line that sets it is (in generated file)
case "packages": target.setPackages(property(camelContext, java.lang.String[].class, value)); return true;
There's no converter from String to String[]. If the generated code tried to use String to String, the setter for packages will properly split on commas.
I don't know the right way to fix this. Should there be a converter or should the generated code know to just assign it as a String since a setter is available?