diff options
Diffstat (limited to 'java/sca/itest/jms-format/src')
3 files changed, 9 insertions, 6 deletions
diff --git a/java/sca/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsbytes/helloworld/HelloWorldReferenceImpl.java b/java/sca/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsbytes/helloworld/HelloWorldReferenceImpl.java index d9ca674e58..c42f71d838 100644 --- a/java/sca/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsbytes/helloworld/HelloWorldReferenceImpl.java +++ b/java/sca/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsbytes/helloworld/HelloWorldReferenceImpl.java @@ -24,10 +24,10 @@ import org.osoa.sca.annotations.Reference; public class HelloWorldReferenceImpl implements HelloWorldReference { @Reference - protected HelloWorldService helloWorldService; + protected HelloWorldService helloWorldService1; public String getGreetings(String name){ - helloWorldService.setGreetings(name.getBytes()); + helloWorldService1.setGreetings(name.getBytes()); try { Thread.sleep(2000); diff --git a/java/sca/itest/jms-format/src/main/resources/jmsbytes/helloworld.composite b/java/sca/itest/jms-format/src/main/resources/jmsbytes/helloworld.composite index c8b2562d7d..ef66c5583c 100644 --- a/java/sca/itest/jms-format/src/main/resources/jmsbytes/helloworld.composite +++ b/java/sca/itest/jms-format/src/main/resources/jmsbytes/helloworld.composite @@ -19,25 +19,26 @@ --> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0" targetNamespace="http://helloworld" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" xmlns:hw="http://helloworld" name="helloworld"> <component name="HelloWorldReferenceComponent"> - <implementation.java class="org.apache.tuscany.sca.binding.jms.format.jmsmessage.helloworld.HelloWorldReferenceImpl" /> + <implementation.java class="org.apache.tuscany.sca.binding.jms.format.jmsbytes.helloworld.HelloWorldReferenceImpl" /> <reference name="helloWorldService1" > <binding.jms> <destination name="HelloWorldService1"/> - <!-- wireFormat.bytes/--> + <t:wireFormat.jmsBytes/> </binding.jms> </reference> </component> <component name="HelloWorldServiceComponent1"> - <implementation.java class="org.apache.tuscany.sca.binding.jms.format.jmsmessage.helloworld.HelloWorldServiceImpl" /> + <implementation.java class="org.apache.tuscany.sca.binding.jms.format.jmsbytes.helloworld.HelloWorldServiceImpl" /> <service name="HelloWorldService"> <binding.jms> <destination name="HelloWorldService1"/> - <!-- wireFormat.bytes/--> + <t:wireFormat.jmsBytes/> </binding.jms> </service> </component> diff --git a/java/sca/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding/jms/format/FormatJMSDelimitedTestCase.java b/java/sca/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding/jms/format/FormatJMSDelimitedTestCase.java index 55a4c1ab72..90b74146e5 100644 --- a/java/sca/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding/jms/format/FormatJMSDelimitedTestCase.java +++ b/java/sca/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding/jms/format/FormatJMSDelimitedTestCase.java @@ -27,6 +27,7 @@ import org.apache.tuscany.sca.node.SCANode; import org.apache.tuscany.sca.node.SCANodeFactory; import org.junit.After; import org.junit.Before; +import org.junit.Ignore; import org.junit.Test; @@ -47,6 +48,7 @@ public class FormatJMSDelimitedTestCase { } @Test + @Ignore public void testHelloWorldCreate() throws Exception { HelloWorldReference helloWorldService = ((SCAClient)node).getService(HelloWorldReference.class, "HelloWorldReferenceComponent"); |