Zoran Regvart created CAMEL-11802:
-------------------------------------

             Summary: Connector options should be overriden by endpoint URI 
parameters
                 Key: CAMEL-11802
                 URL: https://issues.apache.org/jira/browse/CAMEL-11802
             Project: Camel
          Issue Type: Improvement
          Components: camel-connector
    Affects Versions: 2.20.0
            Reporter: Zoran Regvart
            Assignee: Zoran Regvart
            Priority: Minor


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}}:
{code}
camel.connector.salesforce-upsert-contact.clientId=A
{code}
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}}.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to