cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guopu Wu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-6186) Update for demo jms_spring_config server exiting approach
Date Mon, 05 Jan 2015 10:58:35 GMT
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)

Mime
View raw message