Would this thread answer your question:
http://cxf.547215.n5.nabble.com/Turn-off-all-timeouts-with-WebClient-in-JAX-RS-td3364696.html
?
HTH,
Glen
On 10.03.2011 16:15, KARR, DAVID (ATTSI) wrote:
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?
--
Glen Mazza
Software Engineer, Talend (http://www.talend.com)
blog: http://www.jroller.com/gmazza