See the faq:
http://cxf.apache.org/faq.html

Basically, if you use the request context, you could have issues if you don't 
set the request context to be thread local.   

Dan


On Wed January 20 2010 12:49:22 pm Bruno Melloni wrote:
> The approach of relying on Spring to get the CXF client object from the
>  context is so convenient that I rarely think much about it.
> 
> But I find myself needing to call the client from several concurrent
>  threads and I am not sure but I believe that when I call context.getBean()
>  I am retrieving a singleton instance of the client object.  Is that going
>  to be an issue when I call the same service method from multiple threads?
> 
> The code behind the service call is already thread-safe.  If I were calling
>  it locally from multiple threads it would not be a problem.
> 

-- 
Daniel Kulp
dk...@apache.org
http://www.dankulp.com/blog

Reply via email to