Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15387

Can't set Salesforce packages via application properties.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.2
    • Fix Version/s: 3.4.3, 3.5.0
    • Component/s: camel-salesforce
    • Labels:
      None
    • Estimated Complexity:
      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?

       

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              mgenereu Michael Genereux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: