Red Hat Bugzilla – Bug 978135
Message.setJMSMessageID() error message is incorrect
Last modified: 2014-09-24 11:08:32 EDT
Description of problem:
When Message.setJMSMessage is called with input "myString", the error message states:
javax.jms.JMSException: MessageId 'myId' is not of the correct format, it must be ID: followed by a UUID
In fact, the message must be "ID:<anyString>"
The second part of the string can be any string, as of MRG-M 2.3.3 (see Bug 952750)
Version-Release number of selected component (if applicable):
qpid-java-0.18-8 (MRG-M 2.3.3)
Steps to Reproduce:
1. call setJMSMessageID() using any invalid string (such as one that does not start with "ID:")
Incorrect error message is generated
Message should be something like:
MessageId 'myId' is not of the correct format, it must be of the form "ID:<anyString>"
Posted a fix upstream at http://svn.apache.org/r1506068
Bug fix tested on both RHEL6 architectures.
Error message works as expected.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.