cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: Implement client side load balancing feature
Date Fri, 05 Nov 2010 16:46:14 GMT
On Wednesday 03 November 2010 11:36:22 am Oliver Wulff wrote:
> Hi all
> I'm considering to implement a load balancing feature similar to the
> FailoverStrategy already implemented in CXF.
> Out-of-the box, a load balancing could be implemented statically based on
> WSDL port definitions. An interface is provided to customize it.
> Do you have a hint where to start to extend CXF?

This would definitely be a custom ConduitSelector.   In the prepare, just 
return a new conduit.

THAT said, if all you care about is HTTP, you could do it with a normal 
interceptor or something that just sets a new ENDPOINT_ADDRESS on the message.   
Might be easier.

Daniel Kulp

View raw message