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

Can't set Salesforce packages via application properties.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.2
    • 3.4.3, 3.5.0
    • camel-salesforce
    • 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?

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: