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

Kurt Schoovaerts updated CAMEL-21871:
-------------------------------------
    Description: 
If the component option credentialType is explicitely set to for example 
TOKEN_CREDENTIAL, and the endpoint option credentialType is not set explicitly 
in a RouteBuilder then it nevertheless overwrites the explictely set value by 
the default value CONNECTION_STRING

 

Improvement: remove the default value at endpoint level. If no value is 
specified at endpoint level, the config at component level should be used.

  was:
If the component option credentialType is set to for ex TOKEN_CREDENTIAL, and 
the endpoint option credentialType is not set explicitly in a RouteBuilder then 
it overwrites the explictely set value by the default value CONNECTION_STRING

 

Improvement: remove the default value at endpoint level. If no value is 
specified at endpoint level, the config at component level should be used.


> camel-azure-servicebus - default endpoint option credentialType overrides 
> component option if it is set to something else than the default value
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-21871
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21871
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-azure-servicebus
>    Affects Versions: 4.10.2
>            Reporter: Kurt Schoovaerts
>            Priority: Major
>
> If the component option credentialType is explicitely set to for example 
> TOKEN_CREDENTIAL, and the endpoint option credentialType is not set 
> explicitly in a RouteBuilder then it nevertheless overwrites the explictely 
> set value by the default value CONNECTION_STRING
>  
> Improvement: remove the default value at endpoint level. If no value is 
> specified at endpoint level, the config at component level should be used.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to