[
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: [email protected]
For additional commands, e-mail: [email protected]