Are CXF client proxies thread safe?

前端 未结 2 1869
隐瞒了意图╮
隐瞒了意图╮ 2021-01-12 10:03

I\'m using CXF to generate SOAP client classes. In the CXF documentation, they write

Are JAX-WS client proxies thread safe?

Official JAX-WS answer

2条回答
  •  独厮守ぢ
    2021-01-12 10:53

    We recently ran into similar discussion in our project. As specified in the FAQ you are referring to, except for the features that modify HTTP conduit on the fly (ex: session management and failover features), the CXF client proxy is thread safe. So if you do not use these features then it is okay to share the client proxy between threads.

提交回复
热议问题