You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ted Ross (JIRA)" <ji...@apache.org> on 2015/01/16 23:49:34 UTC

[jira] [Created] (QPID-6320) Detaching and re-attaching a link with the same name fails

Ted Ross created QPID-6320:
------------------------------

             Summary: Detaching and re-attaching a link with the same name fails
                 Key: QPID-6320
                 URL: https://issues.apache.org/jira/browse/QPID-6320
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: 0.30
            Reporter: Ted Ross
            Priority: Minor


When synchronously attaching a sender, transferring a message, detaching the sender, then attaching another sender with the same name as the first, the second attach is not answered by the broker.

The following code hangs on the second call to create_sender().

{noformat}
from proton import Message
from proton.utils import BlockingConnection

connection = BlockingConnection('amqp://localhost')
 
for n in range(10):
    sender = connection.create_sender('queue')
    message = Message(body='text')
    sender.send_msg(message)
    sender.close()
    print '%d - sent' % n
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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