I'm trying to figure out which of the following are thread safe. I was under the impression originally that separate JaxWsProxyFactoryBeans are independent from each other, but I started worrying that they are all using the same global BusFactory and things might try to be initialized at the same time.
I'm seeing intermittent exceptions when doing some of these things, so I'm thinking some of these things are not safe. 1. Creating JaxWsProxyFactoryBeans for the same or different services in multiple threads. 2. Creating a JaxWsProxyFactoryBean at the same time a different thread is initializing a spring context containing a <jaxws:client> or <jaxws:endpoint>. 3. Calling JaxWsProxyFactoryBean.create() on the same instance of a JaxWsProxyFactoryBean from multiple threads. 4. Using one proxy created by JaxWsProxyFactoryBean.create() in multiple threads at the same time. -- View this message in context: http://old.nabble.com/CXF-Thread-Safety-tp27756362p27756362.html Sent from the cxf-user mailing list archive at Nabble.com.
