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

Kim van der Riet commented on PROTON-1528:
------------------------------------------

The sender and receiver use the following pattern for opening a connection:
{code}
    void AmqpSender::on_container_start(proton::container &c) {
        c.open_sender(address.str());
    }
{code}
and
{code}
    void AmqpReceiver::on_container_start(proton::container &c) {
        c.open_receiver(address.str());
    }
{code}


> [C++ binding] AMQP open sent with container ID as empty string
> --------------------------------------------------------------
>
>                 Key: PROTON-1528
>                 URL: https://issues.apache.org/jira/browse/PROTON-1528
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding
>            Reporter: Kim van der Riet
>            Assignee: Cliff Jansen
>
> Simple sender and receiver clients are sending an empty string as the 
> container id during an AMQP open.  The ActiveMQ broker checks for this 
> condition and closes the connection with an error.



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

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

Reply via email to