Qpid
  1. Qpid
  2. QPID-2898

broker is unable to evaulate "JMSMessageID IS NULL" correctly when using 0-10

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.7
    • Component/s: Java Broker
    • Labels:
      None

      Description

      org.apache.qpid.test.client.message.SelectorTest#testSelectorWithJMSMessageID fails because the broker is not able to properly evaluate the selector "JMSMessageID IS NULL" when using 0-10, and so incorrectly fails to deliver messages to the client.

      This is due to the use of String.valueOf() when converting the UUID for the message ID into a String, meaning that instead of a null reference value, the string "null" is returned.

        Activity

        Hide
        Robbie Gemmell added a comment -

        Andrew can you review thisi change please?

        Show
        Robbie Gemmell added a comment - Andrew can you review thisi change please?
        Hide
        Andrew Kennedy added a comment -

        Review OK

        Show
        Andrew Kennedy added a comment - Review OK

          People

          • Assignee:
            Andrew Kennedy
            Reporter:
            Robbie Gemmell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development