From 3336ce7cd343c5b5ec51c1762f3133d044cff3be Mon Sep 17 00:00:00 2001 From: slaws Date: Thu, 23 Oct 2008 15:42:42 +0000 Subject: Merge the runtime wire changes to add a binding invocation wire with the jms binding changes to exploit the binding wire. Still early days so see the ongoing conversation on the ML. This function is only enabled if you include a wire format in a jms service binding element. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@707394 13f79535-47bb-0310-9956-ffa450edef68 --- .../format/jmstextxml/helloworld/HelloWorldServiceImpl.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'java/sca/itest/jms-format/src') diff --git a/java/sca/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/HelloWorldServiceImpl.java b/java/sca/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/HelloWorldServiceImpl.java index 073a5d7891..e1706dbe6b 100644 --- a/java/sca/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/HelloWorldServiceImpl.java +++ b/java/sca/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/HelloWorldServiceImpl.java @@ -18,16 +18,18 @@ */ package org.apache.tuscany.sca.binding.jms.format.jmstextxml.helloworld; -import org.osoa.sca.annotations.Remotable; - public class HelloWorldServiceImpl implements HelloWorldService { public String getGreetings(String name){ - return "Hello " + name; + String response = "Hello " + name; + System.out.println("getGreetings: " + response); + return response; } public String getPersonGreetings(Person person){ - return "Hello " + person.getFirstName() + " " + person.getLastName(); + String response = "Hello " + person.getFirstName() + " " + person.getLastName(); + System.out.println("getPersonGreetings: " + response); + return response; } } -- cgit v1.2.3