You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (Jira)" <ji...@apache.org> on 2022/10/14 11:19:00 UTC
[jira] [Commented] (PROTON-2623) Container.connect does not load json config if url is specified
[ https://issues.apache.org/jira/browse/PROTON-2623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17617648#comment-17617648 ]
Robbie Gemmell commented on PROTON-2623:
----------------------------------------
I believe thats the intended behaviour, not a bug. You use a connect.json file to configure the connect details, and if you do use it there are some settings specific to it for the TLS config since the file wont contain a python object thats used otherwise. Those items/behaviours are configured a different way (that pre-dates the connect.json) file when not using the connect.json file, via the 'ssl_domain' argument.
> Container.connect does not load json config if url is specified
> ---------------------------------------------------------------
>
> Key: PROTON-2623
> URL: https://issues.apache.org/jira/browse/PROTON-2623
> Project: Qpid Proton
> Issue Type: Bug
> Components: python-binding
> Affects Versions: proton-c-0.37.0
> Reporter: Ben McCord
> Priority: Minor
>
> The documentation for Container.connect states that you can load a json config file, and that some options are only configurable via that config file, however when trying to use this file to specify some otherwise non-configurable options for my application I noticed that there didn't seem to be any effect, in fact even a malformed json file did not cause any errors. Looking at the code it appears that _get_default_config in _reactor.py is only called if a url is not provided.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org