[ 
https://issues.apache.org/jira/browse/CAMEL-11802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zoran Regvart resolved CAMEL-11802.
-----------------------------------
    Resolution: Invalid

Mixed up connector (component) and endpoint options. Endpoint options should 
not override connector (component) options.

> 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