Qpid
  1. Qpid
  2. QPID-2484

Interoperability tests fail due to attempts to print out contents of JMS Message objects, and do not parse command line properies

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.7
    • Component/s: Java Tests
    • Labels:

      Description

      Interoperability tests fail due to attempts to print out contents of JMS Message objects, as the messages are not considered readable. This is exposed in the toString method, which is called during String concatenation. To fix this, the TestClient and ConversationFactory classes have been modified to print the JMSMessageId instead, which is always accessible. Additionally, the TestClient class does not correctly use parsed command line properties, and fails to set the broker URL and default virtual host name. The default virtual host should be set to "test" in the default properties, to match the Javadoc, and the TestClient should add the parsed command line properties to the default properties with the correct name.

        Activity

        Hide
        Robbie Gemmell added a comment -

        Patch was previously applied to trunk

        Show
        Robbie Gemmell added a comment - Patch was previously applied to trunk
        Hide
        Martin Ritchie added a comment -

        Patch applied to the branch only.

        Show
        Martin Ritchie added a comment - Patch applied to the branch only.
        Hide
        Andrew Kennedy added a comment - - edited

        Patch fixes both branch and trunk.

        Show
        Andrew Kennedy added a comment - - edited Patch fixes both branch and trunk.

          People

          • Assignee:
            Martin Ritchie
            Reporter:
            Andrew Kennedy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development