diff options
Diffstat (limited to 'branches/sca-java-1.x/itest/jms-noreplyto/src/test/java/org/apache/tuscany')
-rw-r--r-- | branches/sca-java-1.x/itest/jms-noreplyto/src/test/java/org/apache/tuscany/sca/binding/jms/NoReplyToTestCase.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/branches/sca-java-1.x/itest/jms-noreplyto/src/test/java/org/apache/tuscany/sca/binding/jms/NoReplyToTestCase.java b/branches/sca-java-1.x/itest/jms-noreplyto/src/test/java/org/apache/tuscany/sca/binding/jms/NoReplyToTestCase.java index ed301d47f1..3db0e634be 100644 --- a/branches/sca-java-1.x/itest/jms-noreplyto/src/test/java/org/apache/tuscany/sca/binding/jms/NoReplyToTestCase.java +++ b/branches/sca-java-1.x/itest/jms-noreplyto/src/test/java/org/apache/tuscany/sca/binding/jms/NoReplyToTestCase.java @@ -85,9 +85,7 @@ public class NoReplyToTestCase { if (m == null) {
throw new RuntimeException("No reply message received");
}
- Serializable o = ((ObjectMessage)m).getObject();
- // TODO: investigate if its correct that the response is an Object[]
- return ((Object[])o)[0].toString();
+ return ((ObjectMessage)m).getObject().toString();
}
@After
|