You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2007/12/04 14:01:10 UTC

svn commit: r600924 - in /incubator/tuscany/java/sca/samples/helloworld-ws-reference-jms: pom.xml src/test/java/helloworld/HelloWorldJmsClientTestCase.java src/test/java/helloworld/HelloWorldJmsTestServer.java

Author: antelder
Date: Tue Dec  4 05:01:09 2007
New Revision: 600924

URL: http://svn.apache.org/viewvc?rev=600924&view=rev
Log:
Start fixing jms ref sample

Removed:
    incubator/tuscany/java/sca/samples/helloworld-ws-reference-jms/src/test/java/helloworld/HelloWorldJmsTestServer.java
Modified:
    incubator/tuscany/java/sca/samples/helloworld-ws-reference-jms/pom.xml
    incubator/tuscany/java/sca/samples/helloworld-ws-reference-jms/src/test/java/helloworld/HelloWorldJmsClientTestCase.java

Modified: incubator/tuscany/java/sca/samples/helloworld-ws-reference-jms/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-ws-reference-jms/pom.xml?rev=600924&r1=600923&r2=600924&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-ws-reference-jms/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/helloworld-ws-reference-jms/pom.xml Tue Dec  4 05:01:09 2007
@@ -58,7 +58,7 @@
 
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>sample-helloworld-ws-service</artifactId>
+            <artifactId>sample-helloworld-ws-service-jms</artifactId>
             <version>1.1-incubating-SNAPSHOT</version>
             <scope>test</scope>
         </dependency>

Modified: incubator/tuscany/java/sca/samples/helloworld-ws-reference-jms/src/test/java/helloworld/HelloWorldJmsClientTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-ws-reference-jms/src/test/java/helloworld/HelloWorldJmsClientTestCase.java?rev=600924&r1=600923&r2=600924&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-ws-reference-jms/src/test/java/helloworld/HelloWorldJmsClientTestCase.java (original)
+++ incubator/tuscany/java/sca/samples/helloworld-ws-reference-jms/src/test/java/helloworld/HelloWorldJmsClientTestCase.java Tue Dec  4 05:01:09 2007
@@ -27,8 +27,6 @@
 import org.junit.Before;
 import org.junit.Test;
 
-import org.apache.activemq.broker.BrokerService;
-
 
 /**
  * Test case for helloworld web service client 
@@ -40,20 +38,14 @@
     private SCADomain scaDomain;
     
     private SCATestCaseRunner server;
-    private BrokerService broker = new BrokerService();
 
     @Before
     public void startClient() throws Exception {
         try {
-            broker.addConnector("tcp://localhost:61616");
-            broker.start();            
             scaDomain = SCADomain.newInstance("helloworldwsjmsclient.composite");
             helloWorldService = scaDomain.getService(HelloWorldService.class, "HelloWorldServiceComponent");
             helloTuscanyService = scaDomain.getService(HelloWorldService.class, "HelloTuscanyServiceComponent");
     
-            server =  new SCATestCaseRunner(HelloWorldJmsTestServer.class);
-            server.before();
-
         } catch (Throwable e) {
             e.printStackTrace();
         }
@@ -70,7 +62,6 @@
     public void stopClient() throws Exception {
     	server.after();
         scaDomain.close();
-	broker.stop();
     }
 
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org