You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2011/03/07 16:09:00 UTC
[jira] Commented: (QPID-3115) Differences in connection options
between c++ and python clients
[ https://issues.apache.org/jira/browse/QPID-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003381#comment-13003381 ]
Gordon Sim commented on QPID-3115:
----------------------------------
The c++ client now recognises options via the same names as used in python (generally this means it recognises '_' in place of '-'. The old names are also still recognised. Additionally however the client will now thro exceptions when encountering unrecognised options, rather than just ignoring them.
> Differences in connection options between c++ and python clients
> ----------------------------------------------------------------
>
> Key: QPID-3115
> URL: https://issues.apache.org/jira/browse/QPID-3115
> Project: Qpid
> Issue Type: Improvement
> Components: C++ Client
> Affects Versions: 0.8
> Reporter: Gordon Sim
> Assignee: Gordon Sim
>
> For example, to set the reconnect limit, the syntax is the following:
> in C++: reconnect-limit
> in Python: reconnect_limit
> The documentation uses the Python syntax but does not call out the C++
> differences.
> To compound the problem, unrecognized options in C++ are silently ignored. If
> a user chooses the wrong syntax (as he would do if he read the documentation),
> the option does not take effect and the default is used instead, leading to
> unpredictable and undesired results.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org