Bug 735329
Summary: | No error when creating binding to non-existing queue | ||
---|---|---|---|
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: | low | Docs Contact: | |
Priority: | low | ||
Version: | Development | CC: | iboverma, jross, lzhaldyb |
Target Milestone: | 2.3 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qpid-java-*-0.18-3 | Doc Type: | Bug Fix |
Doc Text: |
Cause:
Incorrect error handling causes the addressing code to ignore this issues.
Consequence:
The application does not get notified that the queue does not exist
Fix:
Fixed the error handling code to pass the error through to the application.
Result:
An error is thrown when creating a binding to a non existing queue.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-03-19 16:39:07 UTC | Type: | --- |
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
2011-09-02 11:18:12 UTC
This is fixed in upstream http://svn.apache.org/viewvc?rev=1397651&view=rev If you run the above test, the client will throw the following exception. Exception in thread "main" javax.jms.JMSException: Exception while registering consumer:ch=0 id=1 ExecutionException(errorCode=NOT_FOUND, commandId=5, classCode=7, commandCode=4, fieldIndex=0, description=not-found: Bind failed. No such queue: non-existing-queue (qpid/broker/Broker.cpp:1244), errorInfo={}) This issue has been fixed. Verified on rhel5.8 and rhel6.3 (x86_64, i386) packages used for testing: qpid-java-*-0.18-3 -> VERIFIED |