Repository: cxf Updated Branches: refs/heads/master 7476fc331 -> 2323abc24
[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/2323abc2 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/2323abc2 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/2323abc2 Branch: refs/heads/master Commit: 2323abc24bab12b7d9f1fdd7051419d23180122e Parents: 7476fc3 Author: Daniel Kulp <[email protected]> Authored: Mon Apr 3 14:48:13 2017 -0400 Committer: Daniel Kulp <[email protected]> Committed: Mon Apr 3 14:48:13 2017 -0400 ---------------------------------------------------------------------- .../customerservice/server/CustomerServiceSpringServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/2323abc2/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 73f5497..bd1b515 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"); } }
