[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/631a98b5 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/631a98b5 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/631a98b5 Branch: refs/heads/3.0.x-fixes Commit: 631a98b5f729dcd2acdc4493c322f32fe50a21a5 Parents: 1630bf6 Author: Daniel Kulp Authored: Mon Apr 3 14:48:13 2017 -0400 Committer: Daniel Kulp Committed: Mon Apr 3 14:53:15 2017 -0400 -- .../customerservice/server/CustomerServiceSpringServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cxf/blob/631a98b5/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"); } }
[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 Authored: Mon Apr 3 14:48:13 2017 -0400 Committer: Daniel Kulp 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"); } }