You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2017/04/03 18:52:46 UTC

[2/2] cxf git commit: [CXF-6186] Make JMS sample match others

[CXF-6186] Make JMS sample match others


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/6134810d
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/6134810d
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/6134810d

Branch: refs/heads/3.1.x-fixes
Commit: 6134810d95aa3543472c7642c45b4ed2905ba6f0
Parents: 2d0e874
Author: Daniel Kulp <dk...@apache.org>
Authored: Mon Apr 3 14:48:13 2017 -0400
Committer: Daniel Kulp <dk...@apache.org>
Committed: Mon Apr 3 14:52:41 2017 -0400

----------------------------------------------------------------------
 .../customerservice/server/CustomerServiceSpringServer.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/6134810d/distribution/src/main/release/samples/jms_spring_config/src/main/java/com/example/customerservice/server/CustomerServiceSpringServer.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jms_spring_config/src/main/java/com/example/customerservice/server/CustomerServiceSpringServer.java b/distribution/src/main/release/samples/jms_spring_config/src/main/java/com/example/customerservice/server/CustomerServiceSpringServer.java
index f7e4af9..034eed1 100644
--- a/distribution/src/main/release/samples/jms_spring_config/src/main/java/com/example/customerservice/server/CustomerServiceSpringServer.java
+++ b/distribution/src/main/release/samples/jms_spring_config/src/main/java/com/example/customerservice/server/CustomerServiceSpringServer.java
@@ -30,9 +30,9 @@ public final class CustomerServiceSpringServer {
     public static void main(String args[]) throws Exception {
         ClassPathXmlApplicationContext ctx
             = new ClassPathXmlApplicationContext("server-applicationContext.xml");
-        System.out.println("Server started. Press any key to shut down.");
-        System.in.read();
+        Thread.sleep(5 * 60 * 1000);
         ctx.close();
+        System.out.println("Server exiting");
     }
 
 }