Pavel Moravec created QPID-5597:
-----------------------------------
Summary: [C++ client] Topic subscriptions should not ignore
auto-delete x-declare flag
Key: QPID-5597
URL: https://issues.apache.org/jira/browse/QPID-5597
Project: Qpid
Issue Type: Bug
Components: C++ Client
Affects Versions: 0.24
Reporter: Pavel Moravec
Assignee: Pavel Moravec
Priority: Trivial
Description of problem:
As Python client allows, C++ client should also take into account auto-delete
x-declare option when declaring topic subscription.
Version-Release number of selected component (if applicable):
0.24 (and current upstream)
How reproducible:
100%
Steps to Reproduce:
qpid-receive -a "amq.direct/#; {link: {x-declare:{'auto-delete':False}}}" -m 1
--print-content=no -f &
qpid-stat -q | egrep '(queue|=|direct)'
Actual results:
queue dur autoDel excl msg
msgIn msgOut bytes bytesIn bytesOut cons bind
================================================================================================================================
amq.direct_19c89381-ace4-4871-85d6-c87f4462999a Y Y 0
0 0 0 0 0 1 2
(see the auxiliary subscription queue is auto-delete, despite we set it
otherwise)
Expected results:
(non-auto-delete queue created)
Additional info:
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]