From f3ea2e0b8d57dfbd5c896670a0174ada46bbec01 Mon Sep 17 00:00:00 2001 From: antelder Date: Wed, 3 Feb 2010 12:18:48 +0000 Subject: 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 --- .../src/main/java/org/apache/tuscany/sca/binding/jms/JMSClientImpl.java | 2 +- .../main/java/org/apache/tuscany/sca/binding/jms/JMSServiceImpl.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sca-java-2.x/trunk/itest/jms/callbacks/src/main') 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(); -- cgit v1.2.3