Bug 758254 - The subscription queue is not removed after the link is closed
Summary: The subscription queue is not removed after the link is closed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-java
Version: 2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 3.0
: ---
Assignee: Rajith Attapattu
QA Contact: Petr Matousek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-29 16:13 UTC by Petr Matousek
Modified: 2014-09-24 15:03 UTC (History)
6 users (show)

Fixed In Version: qpid-java-0.22
Doc Type: Bug Fix
Doc Text:
It was discovered that an incorrect implementation of the address specification caused the subscription queue to not be deleted when a link was closed. The subscription queue is now deleted when the link is closed, which fixes the originally reported issue.
Clone Of:
Environment:
Last Closed: 2014-09-24 15:03:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:1296 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging 3.0 Release 2014-09-24 19:00:06 UTC

Description Petr Matousek 2011-11-29 16:13:45 UTC
Description of problem:

The consumer subscription queue is not removed after the link is closed, ie. drain program ends.

I've realised this by verifying QPID-2882, the subscription queue is now durable within the link as expected, but the queue remains after the link is closed.

c++ and python clients do not suffer from that.

note: I was wondering if this is not related to Bug 672534, but the subscription queue is not removed even if Drain is modified to close the consumer before the session is closed.

Version-Release number of selected component (if applicable):
qpid-java-0.10-11

How reproducible:
100%

Steps to Reproduce:
1.  ./run_example.sh org.apache.qpid.example.Drain "amq.topic/topic1; {link:{durable: true}}"
2. qpid-config queues or qpid-config -b exchanges
3. The subscription queue was not removed
  
Actual results:
The subscription queue is not removed after the link is closed

Expected results:
The subscription queue is removed after the link is closed

Additional info:

#./run_example.sh  org.apache.qpid.example.Drain "amq.topic/topic1; {link:{durable: true}}"
# qpid-config queues
Queue Name                                            Attributes
===========================================================================
qmfagent-f7481fc6-6242-4300-b5f3-a5d72b9dac75         auto-del excl 
...

# qpid-config -b exchanges
...
Exchange 'amq.topic' (topic)
    bind [topic1] => TempQueue7425df60-cadd-4e90-b76b-1fc44a35334b
...

Comment 3 Rajith Attapattu 2012-01-18 21:52:41 UTC
This will be addressed with the upcomming address refactoring patch.
ETA 0.16 Qpid release.

Comment 6 Rajith Attapattu 2012-10-18 13:25:45 UTC
A fix has been made in upstream
http://svn.apache.org/viewvc?rev=1397651&view=rev

You could use the above test to verify.

Comment 7 Petr Matousek 2013-08-12 14:36:51 UTC
The issue has been fixed. Verified on RHEL6.4 (i386, x86_64)

packages installed:
qpid-java-*-0.22-5

-> VERIFIED

Comment 9 Rajith Attapattu 2013-09-26 20:20:50 UTC
This is fixed in the new client. 
Tested with Drain

Comment 13 errata-xmlrpc 2014-09-24 15:03:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-1296.html


Note You need to log in before you can comment on or make changes to this bug.