| Summary: | msgGroups: messages with group header not set or equal to empty string shall be assigned to default group | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Petr Matousek <pematous> | ||||
| Component: | qpid-cpp | Assignee: | Ken Giusti <kgiusti> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Matousek <pematous> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | Development | CC: | jross | ||||
| Target Milestone: | 2.1.2 | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: |
Cause
Sending a message with a group identifier fields set to the empty string (literally "").
Consequence
The empty string group is considered its own group, separate from the default group, which should have been used.
Fix
The broker now checks for a null string in the group identifier field, and assigns the message to the default group.
Result
All messages that use a null string ("") as a message group identifier are assigned to the broker's default message group. This is the same group messages are assigned to if there is no message group identifier present in the message.
|
Story Points: | --- | ||||
| Clone Of: | 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: | |||||
| Attachments: |
|
||||||
|
Description
Petr Matousek
2011-10-03 20:13:55 UTC
Created attachment 526122 [details]
test reproducer
Upstream JIRA: https://issues.apache.org/jira/browse/QPID-3577 Fix submitted upstream, svn revision: http://svn.apache.org/viewvc?view=revision&revision=1196682 This issue has been fixed. Verified on RHEL5.7 and RHEL6.2, architectures: x86_64, i686 packages installed: qpid-cpp-mrg-0.14-3.el5 qpid-cpp-0.14-1.el6 -> VERIFIED
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Cause
Sending a message with a group identifier fields set to the empty string (literally "").
Consequence
The empty string group is considered its own group, separate from the default group, which should have been used.
Fix
The broker now checks for a null string in the group identifier field, and assigns the message to the default group.
Result
All messages that use a null string ("") as a message group identifier are assigned to the broker's default message group. This is the same group messages are assigned to if there is no message group identifier present in the message.
|