On Friday 11 June 2010 9:40:58 am Loh Kok Jeng wrote: > Hi, > > If I use CXF non-Spring Servlet, how can I configure the HTTP client > policy without resorting to writing httpClientPolicy.setXXX() in my > code?
You probably cannot. The point of the Spring stuff is to provide a non- coding configuration mechanism. If you don't use spring, you probably need to code. You could write your own Configurer subclass that configures the stuff manually (via code) and register that on the bus. You can pick up your configuration any way you want then. That's still code, but it's not really part of the service code. -- Daniel Kulp [email protected] http://dankulp.com/blog
