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

Alan Conway commented on PROTON-1863:
-------------------------------------

Fixed by 
[https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;a=commit;h=21eb6d8beee5e7e42aaf51d34c566bf1e8764901]

 

> [cpp] need support for anonymous link targets
> ---------------------------------------------
>
>                 Key: PROTON-1863
>                 URL: https://issues.apache.org/jira/browse/PROTON-1863
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding
>    Affects Versions: proton-c-0.23.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>            Priority: Major
>             Fix For: proton-c-0.24.0
>
>
> To use an ANONYMOUS-RELAY capable container, the client must create a sender 
> link with *no* target address. This is not the same as target address of "" 
> the empty string. In proton-C this means setting the address to NULL, but the 
> C++ API defines:
>     open_sender(std::string addr, sender_options)
> For dynamic receiver addresses, which also require a missing address field,  
> we use this in the C++ API:
>      open_receiver("", 
> receiver_options().source(source_options().dynamic(true)));
> The dynamic(true) option causes the addr parameter to be ignored and a NULL 
> address set in proton-C.
> We need to add an "anonymous" boolean option with similar effect.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to