I've used JAXRSServerFactoryBean successfully in the past to write unit
tests for CXF controllers.

I'm now running a test that calls a method that reads from a database,
so it takes a few seconds to get its data.  Sometimes I run the test in
the debugger.

What I find is that the server started by JAXRSServerFactoryBean appears
to terminate after a while, outside of my control.  Assuming there's
some sort of timeout in place here, is there some way I can control this
so it only exits at the end of my test?

Reply via email to