You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org> on 2010/04/07 13:25:33 UTC

[jira] Updated: (QPID-2484) Interoperability tests fail due to attempts to print out contents of JMS Message objects, and do not parse command line properies

     [ https://issues.apache.org/jira/browse/QPID-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kennedy updated QPID-2484:
---------------------------------

    Attachment: 0001-QPID-2484-Fix-interoperability-test-client-trunk.patch
                0001-QPID-2484-Fix-interoperability-test-client-branch.patch

Patch fixes branch and trunk. Trunk code already prints out JMSMessageID in debug messages.

> Interoperability tests fail due to attempts to print out contents of JMS Message objects, and do not parse command line properies
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-2484
>                 URL: https://issues.apache.org/jira/browse/QPID-2484
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.6
>            Reporter: Andrew Kennedy
>             Fix For: 0.7
>
>         Attachments: 0001-QPID-2484-Fix-interoperability-test-client-branch.patch, 0001-QPID-2484-Fix-interoperability-test-client-trunk.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org