You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2015/04/15 21:21:59 UTC
[jira] [Commented] (QPID-6320) Detaching and re-attaching a link
with the same name fails
[ https://issues.apache.org/jira/browse/QPID-6320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14496747#comment-14496747 ]
Gordon Sim commented on QPID-6320:
----------------------------------
This is actually an issue with proton, where it is apparently not resetting the link state on closing the link and opening another with the same name.
> 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
> Assignee: Gordon Sim
> 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