Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 509395 - The JMS Client does not default to the correct priority as specified in the spec
The JMS Client does not default to the correct priority as specified in the spec
Status: CLOSED ERRATA
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-java (Show other bugs)
1.1.2
All Linux
low Severity low
: 1.3
: ---
Assigned To: Rajith Attapattu
MRG Quality Engineering
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-02 11:28 EDT by Rajith Attapattu
Modified: 2010-10-14 12:15 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The JMS Client did not default to the correct priority as specified in the specification (0). This did not have any effect as the C++ broker does not yet support priority.With this update, the client now defaults to the correct priority (4). When the C++ broker implements priority, the messages sent through the JMS client will be handled according to the JMS specification.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-10-14 12:15:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0773 normal SHIPPED_LIVE Moderate: Red Hat Enterprise MRG Messaging and Grid Version 1.3 2010-10-14 11:56:44 EDT

  None (edit)
Description Rajith Attapattu 2009-07-02 11:28:31 EDT
Description of problem:
The JMS Client does not default to the correct priority as specified in the spec.
Currently it defaults to 0, but should be 4

Version-Release number of selected component (if applicable):
1.1.x

How reproducible:
Always

Steps to Reproduce:
Send a message as follows

TextMessage txtMsg = session.createTextMessage();
prod.send(txtMsg);
  
Actual results:
If you print the message on the receiving side it you could see the priority as zero

Expected results:
It should be 4.
Comment 1 Rajith Attapattu 2009-09-21 22:06:52 EDT
A fixed has been committed to rev 817478 on qpid trunk.
I have also added a simple check for the default message priority in an existing test in JMSPropertiesTest.
Comment 4 Rajith Attapattu 2010-10-07 13:42:31 EDT
    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: The JMS Client does not default to the correct priority as specified in the spec.

Consequence: This does not really have any effect as the C++ broker does not yet support priority.

Fix: The client now defaults to the correct priority (4).

Result: When the C++ broker implements priority, the messages sent through the JMS client will be handled according to the JMS spec.
Comment 5 Martin Prpič 2010-10-10 03:52:54 EDT
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,7 +1 @@
-Cause: The JMS Client does not default to the correct priority as specified in the spec.
+The JMS Client did not default to the correct priority as specified in the specification (0). This did not have any effect as the C++ broker does not yet support priority.With this update, the client now defaults to the correct priority (4). When the C++ broker implements priority, the messages sent through the JMS client will be handled according to the JMS specification.-
-Consequence: This does not really have any effect as the C++ broker does not yet support priority.
-
-Fix: The client now defaults to the correct priority (4).
-
-Result: When the C++ broker implements priority, the messages sent through the JMS client will be handled according to the JMS spec.
Comment 7 errata-xmlrpc 2010-10-14 12:15:56 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0773.html

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