We don't do it right now.  Maybe something like this?

ResteasyClient client = ...;

FailoverTarget target = client.failoverTarget()
                               .addBase("http://localhost:8080";)
                               .addBase("http://localhost:8081";)
                               .addBase("http://localhost:8082";);

Then from Failovertarget you could do anything that a WebTarget could do.

Sound like a good API?  Feel like working on it? :)


On 3/26/2014 5:21 AM, Borut Bolčina wrote:
> Hello,
>
> is failover client support somewhere in the pipeline?
>
> Like http://cxf.apache.org/docs/jax-rs-failover.html
>
> How do you guys do it now?
>
> Regards,
> borut
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
>
>
>
> _______________________________________________
> Resteasy-users mailing list
> Resteasy-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/resteasy-users
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users

Reply via email to