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 (Created) (JIRA)" <ji...@apache.org> on 2012/04/11 11:04:18 UTC
[jira] [Created] (QPID-3943) subscription queues for links with no
explicit name not marked auto-delete
subscription queues for links with no explicit name not marked auto-delete
--------------------------------------------------------------------------
Key: QPID-3943
URL: https://issues.apache.org/jira/browse/QPID-3943
Project: Qpid
Issue Type: Improvement
Components: Python Client
Reporter: Gordon Sim
Priority: Minor
Fix For: 0.17
On creating a receiver from an exchange, the subscription queue created is marked exclusive, but not auto-delete. This means if the connection is lost without proper cleanup, the queue will remain on the server. Since the queue name is by default a library generated UUID, there is no way for the application to resubscribe to that queue. In other words it really should be marked auto-delete. This would also then match the c++ client and provide a more uniform experience across languages.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[jira] [Assigned] (QPID-3943) subscription queues for links with no
explicit name not marked auto-delete
Posted by "Gordon Sim (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim reassigned QPID-3943:
--------------------------------
Assignee: Gordon Sim
> subscription queues for links with no explicit name not marked auto-delete
> --------------------------------------------------------------------------
>
> Key: QPID-3943
> URL: https://issues.apache.org/jira/browse/QPID-3943
> Project: Qpid
> Issue Type: Improvement
> Components: Python Client
> Reporter: Gordon Sim
> Assignee: Gordon Sim
> Priority: Minor
> Fix For: 0.17
>
>
> On creating a receiver from an exchange, the subscription queue created is marked exclusive, but not auto-delete. This means if the connection is lost without proper cleanup, the queue will remain on the server. Since the queue name is by default a library generated UUID, there is no way for the application to resubscribe to that queue. In other words it really should be marked auto-delete. This would also then match the c++ client and provide a more uniform experience across languages.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[jira] [Resolved] (QPID-3943) subscription queues for links with no
explicit name not marked auto-delete
Posted by "Gordon Sim (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim resolved QPID-3943.
------------------------------
Resolution: Fixed
> subscription queues for links with no explicit name not marked auto-delete
> --------------------------------------------------------------------------
>
> Key: QPID-3943
> URL: https://issues.apache.org/jira/browse/QPID-3943
> Project: Qpid
> Issue Type: Improvement
> Components: Python Client
> Reporter: Gordon Sim
> Assignee: Gordon Sim
> Priority: Minor
> Fix For: 0.17
>
>
> On creating a receiver from an exchange, the subscription queue created is marked exclusive, but not auto-delete. This means if the connection is lost without proper cleanup, the queue will remain on the server. Since the queue name is by default a library generated UUID, there is no way for the application to resubscribe to that queue. In other words it really should be marked auto-delete. This would also then match the c++ client and provide a more uniform experience across languages.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[jira] [Commented] (QPID-3943) subscription queues for links with
no explicit name not marked auto-delete
Posted by "Gordon Sim (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251425#comment-13251425 ]
Gordon Sim commented on QPID-3943:
----------------------------------
Suggested fix:
{noformat}
Index: qpid/messaging/driver.py
===================================================================
--- qpid/messaging/driver.py (revision 1311665)
+++ qpid/messaging/driver.py (working copy)
@@ -226,7 +226,11 @@
def do_link(self, sst, rcv, _rcv, type, subtype, action):
link_opts = _rcv.options.get("link", {})
- reliability = link_opts.get("reliability", "at-least-once")
+ if type == "topic":
+ default_reliability = "unreliable"
+ else:
+ default_reliability = "at-least-once"
+ reliability = link_opts.get("reliability", default_reliability)
declare = link_opts.get("x-declare", {})
subscribe = link_opts.get("x-subscribe", {})
acq_mode = acquire_mode.pre_acquired
{noformat}
> subscription queues for links with no explicit name not marked auto-delete
> --------------------------------------------------------------------------
>
> Key: QPID-3943
> URL: https://issues.apache.org/jira/browse/QPID-3943
> Project: Qpid
> Issue Type: Improvement
> Components: Python Client
> Reporter: Gordon Sim
> Assignee: Gordon Sim
> Priority: Minor
> Fix For: 0.17
>
>
> On creating a receiver from an exchange, the subscription queue created is marked exclusive, but not auto-delete. This means if the connection is lost without proper cleanup, the queue will remain on the server. Since the queue name is by default a library generated UUID, there is no way for the application to resubscribe to that queue. In other words it really should be marked auto-delete. This would also then match the c++ client and provide a more uniform experience across languages.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org