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.

Reply via email to