On Tuesday 27 July 2010 10:58:52 am Nelson, Chris wrote:
> Is there a good way to implement failover in the WebClient? I have tried
> setting a FailoverTargetSelector on the client configuration, but that
> causes all kinds of problems. I've started creating a custom WebClient
> along with a new failover conduit selector, but I'm hoping there is an
> easier way.

Much of the failover stuff in CXF was designed more for the WSDL based things 
and is designed to failover from port to port from the wsdl service.   That 
obviously isn't ideal for the REST stuff.  A simple FailoverTargetSelector 
that operates with just a list of URL's would be a great start, but not 
something I've had time to really look at.
 
Would you consider submitting some patches to enhance the failover stuff in 
CXF to better support your use case?


-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to