cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1052997 - in /cxf/trunk/distribution/src/main/release/samples: jms-spec-demo/src/demo/jms_greeter/broker/ jms-spec-demo/src/demo/jms_greeter/client/ jms_pubsub/src/demo/jms_greeter/broker/ jms_pubsub/src/demo/jms_greeter/client/ jms_queue/...
Date Mon, 27 Dec 2010 05:12:14 GMT
Author: ningjiang
Date: Mon Dec 27 05:12:14 2010
New Revision: 1052997

URL: http://svn.apache.org/viewvc?rev=1052997&view=rev
Log:
Put the activemq-data into target, and fix the warning of Client

Modified:
    cxf/trunk/distribution/src/main/release/samples/jms-spec-demo/src/demo/jms_greeter/broker/EmbeddedBroker.java
    cxf/trunk/distribution/src/main/release/samples/jms-spec-demo/src/demo/jms_greeter/client/Client.java
    cxf/trunk/distribution/src/main/release/samples/jms_pubsub/src/demo/jms_greeter/broker/EmbeddedBroker.java
    cxf/trunk/distribution/src/main/release/samples/jms_pubsub/src/demo/jms_greeter/client/Client.java
    cxf/trunk/distribution/src/main/release/samples/jms_queue/src/demo/jms_greeter/broker/EmbeddedBroker.java
    cxf/trunk/distribution/src/main/release/samples/jms_queue/src/demo/jms_greeter/client/Client.java

Modified: cxf/trunk/distribution/src/main/release/samples/jms-spec-demo/src/demo/jms_greeter/broker/EmbeddedBroker.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms-spec-demo/src/demo/jms_greeter/broker/EmbeddedBroker.java?rev=1052997&r1=1052996&r2=1052997&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jms-spec-demo/src/demo/jms_greeter/broker/EmbeddedBroker.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/jms-spec-demo/src/demo/jms_greeter/broker/EmbeddedBroker.java
Mon Dec 27 05:12:14 2010
@@ -28,6 +28,7 @@ public final class EmbeddedBroker {
     public static void main(String[] args) throws Exception {
         BrokerService broker = new BrokerService();
         broker.setPersistenceAdapter(new MemoryPersistenceAdapter());
+        broker.setDataDirectory("target/activemq-data");
         broker.addConnector("tcp://localhost:61616");
         broker.start();
         System.out.println("JMS broker ready ...");

Modified: cxf/trunk/distribution/src/main/release/samples/jms-spec-demo/src/demo/jms_greeter/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms-spec-demo/src/demo/jms_greeter/client/Client.java?rev=1052997&r1=1052996&r2=1052997&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jms-spec-demo/src/demo/jms_greeter/client/Client.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/jms-spec-demo/src/demo/jms_greeter/client/Client.java
Mon Dec 27 05:12:14 2010
@@ -47,7 +47,7 @@ public final class Client {
 
         File wsdl = new File(args[0]);
 
-        JMSGreeterService service = new JMSGreeterService(wsdl.toURL(), SERVICE_NAME);
+        JMSGreeterService service = new JMSGreeterService(wsdl.toURI().toURL(), SERVICE_NAME);
         JMSGreeterPortType greeter = (JMSGreeterPortType)service.getPort(PORT_NAME, JMSGreeterPortType.class);
 
         System.out.println("Invoking sayHi...");

Modified: cxf/trunk/distribution/src/main/release/samples/jms_pubsub/src/demo/jms_greeter/broker/EmbeddedBroker.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_pubsub/src/demo/jms_greeter/broker/EmbeddedBroker.java?rev=1052997&r1=1052996&r2=1052997&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jms_pubsub/src/demo/jms_greeter/broker/EmbeddedBroker.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/jms_pubsub/src/demo/jms_greeter/broker/EmbeddedBroker.java
Mon Dec 27 05:12:14 2010
@@ -28,6 +28,7 @@ public final class EmbeddedBroker {
     public static void main(String[] args) throws Exception {
         BrokerService broker = new BrokerService();
         broker.setPersistenceAdapter(new MemoryPersistenceAdapter());
+        broker.setDataDirectory("target/activemq_data");
         broker.addConnector("tcp://localhost:61616");
         broker.start();
         System.out.println("JMS broker ready ...");

Modified: cxf/trunk/distribution/src/main/release/samples/jms_pubsub/src/demo/jms_greeter/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_pubsub/src/demo/jms_greeter/client/Client.java?rev=1052997&r1=1052996&r2=1052997&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jms_pubsub/src/demo/jms_greeter/client/Client.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/jms_pubsub/src/demo/jms_greeter/client/Client.java
Mon Dec 27 05:12:14 2010
@@ -42,7 +42,7 @@ public final class Client {
 
         File wsdl = new File(args[0]);
 
-        JMSGreeterService service = new JMSGreeterService(wsdl.toURL(), SERVICE_NAME);
+        JMSGreeterService service = new JMSGreeterService(wsdl.toURI().toURL(), SERVICE_NAME);
         JMSGreeterPortType greeter = (JMSGreeterPortType)service.getPort(PORT_NAME, JMSGreeterPortType.class);
 
         System.out.println("Invoking greetMeOneWay...");

Modified: cxf/trunk/distribution/src/main/release/samples/jms_queue/src/demo/jms_greeter/broker/EmbeddedBroker.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_queue/src/demo/jms_greeter/broker/EmbeddedBroker.java?rev=1052997&r1=1052996&r2=1052997&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jms_queue/src/demo/jms_greeter/broker/EmbeddedBroker.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/jms_queue/src/demo/jms_greeter/broker/EmbeddedBroker.java
Mon Dec 27 05:12:14 2010
@@ -28,6 +28,7 @@ public final class EmbeddedBroker {
     public static void main(String[] args) throws Exception {
         BrokerService broker = new BrokerService();
         broker.setPersistenceAdapter(new MemoryPersistenceAdapter());
+        broker.setDataDirectory("target/activemq-data");
         broker.addConnector("tcp://localhost:61616");
         broker.start();
         System.out.println("JMS broker ready ...");

Modified: cxf/trunk/distribution/src/main/release/samples/jms_queue/src/demo/jms_greeter/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_queue/src/demo/jms_greeter/client/Client.java?rev=1052997&r1=1052996&r2=1052997&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jms_queue/src/demo/jms_greeter/client/Client.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/jms_queue/src/demo/jms_greeter/client/Client.java
Mon Dec 27 05:12:14 2010
@@ -51,7 +51,7 @@ public final class Client {
 
         File wsdl = new File(args[0]);
 
-        JMSGreeterService service = new JMSGreeterService(wsdl.toURL(), SERVICE_NAME);
+        JMSGreeterService service = new JMSGreeterService(wsdl.toURI().toURL(), SERVICE_NAME);
         JMSGreeterPortType greeter = (JMSGreeterPortType)service.getPort(PORT_NAME, JMSGreeterPortType.class);
 
         System.out.println("Invoking sayHi...");



Mime
View raw message