On Tuesday 30 November 2010 6:39:22 am Chris Richmond wrote:
> I am creating a web server with endpoint like this...
> 
>          JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean();
>          svrFactory.setServiceClass(MyServiceInterface.class);
>         
> svrFactory.setAddress("http://192.168.0.50:9000/DashboardService";);
> svrFactory.setServiceBean(implementor);
> 
> //        svrFactory.getInInterceptors().add(new LoggingInInterceptor());
> //        svrFactory.getOutInterceptors().add(new LoggingOutInterceptor());
>          svrFactory.create();
> 
> This works fine but appears to be blocking the threads which called it.
> 
> Is there a getThreadedServerInstance() or similar call for this?

I'm very surprised by this as, by default, Jetty creates a pool with a maxsize 
of 25 threads  for this.   Thus, it shouldn't start blocking until it hits 
that amount.   


-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to