[ 
https://issues.apache.org/jira/browse/PROTON-2307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17272767#comment-17272767
 ] 

Pete Fawcett edited comment on PROTON-2307 at 1/27/21, 10:58 AM:
-----------------------------------------------------------------

Whilst looking at the code on this ticket, in preparation for PROTON-2230 it 
occurred to me that the naming of the {{connection::properties()}} function 
might give rise to some confusion in that it returns the connection _remote_ 
properties.

When first writing the code it seemed to me that it would be the remote 
properties that would be the ones needing to be queried but that might not 
always be the case.

Perhaps there should be both {{connection::properties()}} and 
{{connection::remote_properties()}} functions.


was (Author: pjfawcett):
[~astitcher]

Whilst looking at the code on this ticket, in preparation for PROTON-2230 it 
occurred to me that the naming of the `connection::properties()` function might 
give rise to some confusion in that it returns the connection _remote_ 
properties.

When first writing the code it seemed to me that it would be the remote 
properties that would be the ones needing to be queried but that might not 
always be the case.

Perhaps there should be both `connection::properties()` and 
`connection::remote_properties()` functions.

> Allow access to connection properties in cpp binding
> ----------------------------------------------------
>
>                 Key: PROTON-2307
>                 URL: https://issues.apache.org/jira/browse/PROTON-2307
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: cpp-binding
>    Affects Versions: proton-c-0.33.0
>            Reporter: Pete Fawcett
>            Priority: Minor
>              Labels: enhancement
>
> I would like to be able to set the "custom" properties on a connection using 
> the C++ bindings.
> The initial reason for this is to allow a client program to set the 
> "qpid.client_process" property on a connection to a broker as this is useful 
> when identifying the connection on the QMF console.
> I have written code to enable this and hope to submit a pull request soon.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to