Uploaded image for project: '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
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: