You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (JIRA)" <ji...@apache.org> on 2018/06/14 13:26:00 UTC

[jira] [Created] (PROTON-1863) [cpp] need support for anonymous link targets

Alan Conway created PROTON-1863:
-----------------------------------

             Summary: [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
             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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org