I am probably misunderstanding something here, but in the Javadocs for
FailoverTargetSelector it says:

"Note that this feature changes the conduit on the fly and thus makes the
Client not thread safe."

In the documentation (http://cxf.apache.org/docs/jax-rs-failover.html), it
shows this setup:

<bean id="myWebClient"
class="org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean"
factory-method="createWebClient">
  <property name="address" value="http://some.base.url.that.responds/"; />
  <property name="features">
    <ref bean="failover1"/>
  </property>
</bean>

Does that mean that the "myWebClient" bean not be thread-safe at that point?

Thanks,

James

Reply via email to