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

Connector options should be overriden by endpoint URI parameters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • 2.20.0
    • None
    • camel-connector
    • None
    • Unknown

    Description

      Connectors have options that contain values configured via DefaultConnectorComponent::addOption, but values specified in endpoint URI do not override those.
      For (silly) example using Spring Boot one might have in application.properties:

      camel.connector.salesforce-upsert-contact.clientId=A
      

      And then configure a connector via endpoint URI salesforce-upsert-contact?clientId=B.
      The options would contain clientId=A, whereas the intent would be to contain B.

      Attachments

        Activity

          People

            zregvart Zoran Regvart
            zregvart Zoran Regvart
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: