Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6186

Update for demo jms_spring_config server exiting approach

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.3
    • Fix Version/s: 3.0.13, 3.1.11
    • Component/s: Samples
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              gpache Guopu Wu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: