| Summary: | The Broker object is created using java client even if an error occurs | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Petr Matousek <pematous> |
| Component: | qpid-java | Assignee: | messaging-bugs <messaging-bugs> |
| Status: | NEW --- | QA Contact: | MRG Quality Engineering <mrgqe-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | Development | CC: | iboverma, jross |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 691778 | Environment: | |
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Petr Matousek
2011-08-30 14:16:38 UTC
If the exchange is created, then it's clearly a broker bug not a jms client issue. Could you please assign it to someone from the C++ broker side and change the component to the C++ broker ? Yes the exchange is created. I am not much familiar with the default values by xml/headers exchange creation, but maybe the right question here is: "shall the error be printed out or not?" using the same addresses with cpp client leads to successful exchange creation (no error appears, return code is equal to zero) using java (and python) clients an error message is printed out, but the exchange is successfully created as well. Rajith, this doesn't look like a broker issue per se. Please investigate. (In reply to comment #2) > Yes the exchange is created. I am not much familiar with the default values > by xml/headers exchange creation, but maybe the right question here is: > "shall the error be printed out or not?" > > using the same addresses with cpp client leads to successful exchange > creation (no error appears, return code is equal to zero) > using java (and python) clients an error message is printed out, but the > exchange is successfully created as well. There are two things here. 1. The c++ and python client adds a "x-match:all" argument (for headers_ by default. Which is why it works. The JMS client doesn't add this. 2. The queue-declare and exchange bind operations are two distinct operations. So we need to do one of two things. 1. Leave the current behaviour as it is. 2. If the exchange bind fails, then we delete the exchange or queue we created. I will discuss this upstream. I will be adding the missing binding info to make this work. |