summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/itest/jms/callbacks/src/main
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-02-03 12:18:48 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-02-03 12:18:48 +0000
commitf3ea2e0b8d57dfbd5c896670a0174ada46bbec01 (patch)
tree080496280d43859f1fca83636ed83ae2012f00d5 /sca-java-2.x/trunk/itest/jms/callbacks/src/main
parent8265e9dbfcc43fbba870081f0e6ef48223f9379c (diff)
Fix the JMS callbacks test by removing all trailing spaces in the messages. Just a work around, the undrlying issue with the databinding still needs to be fixed
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@906026 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/itest/jms/callbacks/src/main')
-rw-r--r--sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSClientImpl.java2
-rw-r--r--sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSServiceImpl.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSClientImpl.java b/sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSClientImpl.java
index a4d5190af3..f90db55dda 100644
--- a/sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSClientImpl.java
+++ b/sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSClientImpl.java
@@ -34,7 +34,7 @@ public class JMSClientImpl implements JMSClient, JMSServiceCallback {
public void aClientMethod() {
System.out.println("aClientMethod " + this + " on thread " + Thread.currentThread());
- myService.someMethod(" -> someMethod "); // calls the server
+ myService.someMethod("-> someMethod"); // calls the server
System.out.println("aClientMethod return from someMethod on thread " + Thread.currentThread());
}
diff --git a/sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSServiceImpl.java b/sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSServiceImpl.java
index e8357338ae..cec4e6fa6d 100644
--- a/sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSServiceImpl.java
+++ b/sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSServiceImpl.java
@@ -38,7 +38,7 @@ public class JMSServiceImpl implements JMSService {
public void someMethod(String arg) {
System.out.println("someMethod '" + arg + "' on thread " + Thread.currentThread());
try {
- myServiceCallback.receiveResult(arg + " -> receiveResult ");
+ myServiceCallback.receiveResult(arg + "-> receiveResult");
} catch(Exception e) {
System.out.println("RuntimeException invoking receiveResult: " + e.toString());
e.printStackTrace();