You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2017/12/08 18:27:01 UTC

[jira] [Created] (PROTON-1714) proton::connection objects (and others too) don't have useful names

Justin Ross created PROTON-1714:
-----------------------------------

             Summary: proton::connection objects (and others too) don't have useful names
                 Key: PROTON-1714
                 URL: https://issues.apache.org/jira/browse/PROTON-1714
             Project: Qpid Proton
          Issue Type: Bug
          Components: cpp-binding
            Reporter: Andrew Stitcher
            Assignee: Andrew Stitcher
             Fix For: proton-c-0.19.0


[Issue "reimagined" to fit the actual use case.]
If you want to report to the user and refer to a connection (and probably other proton objects) there is no easy way to get a unique name that we can use to refer to a connection. 

The name is distinct from the url used to create the connection (although url would work as a name). The name is also distinct from a printable representation of the object.

Originally the issue was:
Although the user could just remember whatever url they used to create a given connection, it is duplicative when the library has the info around.

Also if it is not provided then the user has to plumb to info to places it is needed inside the event handlers, however the handlers will already get the connection context object anyway so that is unecessary and an extra burden.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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