diff options
| author | Gordon Sim <gsim@apache.org> | 2013-06-06 11:30:16 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2013-06-06 11:30:16 +0000 |
| commit | bb97bbdcb53fa6a3345f45c7d8165c082c1714df (patch) | |
| tree | f0070eca11f1e8fc2499edf2efa2cf16acf7f9f6 /qpid/python | |
| parent | a7ed6021b032906851e3fdf202124ef1b4a583df (diff) | |
| download | qpid-python-bb97bbdcb53fa6a3345f45c7d8165c082c1714df.tar.gz | |
QPID-4903: don't delete subscription queue when closing link if it was explicitly declared non-exclusive
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1490240 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
| -rw-r--r-- | qpid/python/qpid/messaging/driver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/python/qpid/messaging/driver.py b/qpid/python/qpid/messaging/driver.py index 7a36745c33..ac59bcf0a6 100644 --- a/qpid/python/qpid/messaging/driver.py +++ b/qpid/python/qpid/messaging/driver.py @@ -233,7 +233,7 @@ class LinkIn: exclusive=True, auto_delete=(reliability == "unreliable")), overrides=declare) - _rcv.on_unlink = [QueueDelete(_rcv._queue)] + if declare.get("exclusive", True): _rcv.on_unlink = [QueueDelete(_rcv._queue)] subject = _rcv.subject or SUBJECT_DEFAULTS.get(subtype) bindings = get_bindings(link_opts, _rcv._queue, _rcv.name, subject) if not bindings: |
