Bug 876192
| Summary: | Broker object is not deleted when Spout is used | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Petr Matousek <pematous> |
| Component: | qpid-java | Assignee: | Rajith Attapattu <rattapat+nobody> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Matousek <pematous> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | Development | CC: | iboverma, jross, lzhaldyb, mcressma |
| Target Milestone: | 2.3 | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | qpid-java-0.18-6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Petr Matousek
2012-11-13 14:26:22 UTC
I will add a consumer.close() and a producer.close() for Drain and Spout respectiely, which should fix the issue mentioned in the BZ. However this will merely fix Drain and Spout, not the issue real underlying issue. As explained in bz 672534, unfortunately there is no resonable fix for this problem. This is a more general issue with the client. The workaround given is actually very reasonable and good practise to follow. That is closing your consumers and producers explicitly. I have added fix for the specific issue mentioned in the BZ http://svn.apache.org/viewvc?rev=1417692&view=rev This issue has been fixed. Verified on rhel5.9rc and rhel6.3 (x86_64, i386) packages used for testing: qpid-java-*-0.18-6 -> VERIFIED |