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

ASF GitHub Bot commented on PROTON-2540:
----------------------------------------

DreamPearl opened a new pull request, #370:
URL: https://github.com/apache/qpid-proton/pull/370

   Different ways to query proton::connection for the URL it was created with:
   
   1. Store the URL in the connection context and return it.
   2. Make use of 'reconnect_url' in the connection context. (But this will not 
guarantee to have the initial URL with which the connection was created, in 
case of it being overridden)
   3. Make the URL using host, user, and pass stored in connection options and 
return it. (But port and path are not being stored anywhere right now)
   
   For now, I have used the first approach.
   




> [cpp] Provide a way to query proton::connection for the url it was created 
> with
> -------------------------------------------------------------------------------
>
>                 Key: PROTON-2540
>                 URL: https://issues.apache.org/jira/browse/PROTON-2540
>             Project: Qpid Proton
>          Issue Type: New Feature
>          Components: cpp-binding
>            Reporter: Rakhi Kumari
>            Assignee: Rakhi Kumari
>            Priority: Major
>
> Provide a way to connection.url() to identify a connection in a trivial 
> connection handler.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to