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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to