You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Guopu Wu (JIRA)" <ji...@apache.org> on 2015/01/05 11:58:35 UTC

[jira] [Created] (CXF-6186) Update for demo jms_spring_config server exiting approach

Guopu Wu created CXF-6186:
-----------------------------

             Summary: Update for demo jms_spring_config server exiting approach
                 Key: CXF-6186
                 URL: https://issues.apache.org/jira/browse/CXF-6186
             Project: CXF
          Issue Type: Wish
          Components: Samples
    Affects Versions: 3.0.3
            Reporter: Guopu Wu
            Priority: Trivial


Can following code in CustomerServiceSpringServer.java

        System.out.println("Server started. Press any key to shut down.");
        System.in.read();
        ctx.close();

be changed to 

        Thread.sleep(5 * 60 * 1000);
        ctx.close();
        System.out.println("Server exiting");

?

In this way the demo server will exit in the same style as other cxf demos, otherwise extra overhead for testing automation framework has to be introduced




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)