You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by blacksheep <eg...@gmail.com> on 2008/02/13 16:05:55 UTC
Replica aware client
Hi,
Is there a way to configure CXF generated clients to access WS server stack
with a timeout value ?
Thanks,
Mustafa
--
View this message in context: http://www.nabble.com/Replica-aware-client-tp15459476p15459476.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Replica aware client
Posted by Daniel Kulp <dk...@apache.org>.
Mustafa,
There is support for some FailoverStrategy things in CXF, but I'm
struggling to find any documentation for it on our wiki or even in the
code. The best I can do right now is to point you at IONA's commercial
product docs at:
http://www.iona.com/support/docs/artix/5.0/deploy/java/wwhelp/wwhimpl/js/html/wwhelp.htm
and look in the "Enabling High Availability" section. Some of it
doesn't apply to CXF as the strategies are only available with the
commercial stuff. The static failover stuff should work, I think.
The dynamic stuff won't.
You can also write your own FailoverStrategy class that does your own
thing. I'm not really sure how complex that is though.
That all said, if you dig through all of the above and come up with a
good demo or something, we'd love to have it in CXF. :-)
Dan
On Wednesday 13 February 2008, Mustafa Egilmezbilek wrote:
> Thanks for the answer, Dan.
>
> What I meant with replica-aware is the alternative URL(s) that is used
> by client when server is down or the connection or recieve times out.
>
> Thanks.
>
> On Feb 13, 2008 5:11 PM, Daniel Kulp <dk...@apache.org> wrote:
> > There are several timeout things available for configuring the http
> > stuff on the client side. See:
> >
> > http://cwiki.apache.org/CXF20DOC/client-http-transport-including-ssl
> >-support.html
> >
> > Dan
> >
> > On Wednesday 13 February 2008, blacksheep wrote:
> > > Hi,
> > >
> > > Is there a way to configure CXF generated clients to access WS
> > > server stack with a timeout value ?
> > >
> > > Thanks,
> > >
> > > Mustafa
> >
> > --
> > J. Daniel Kulp
> > Principal Engineer, IONA
> > dkulp@apache.org
> > http://www.dankulp.com/blog
--
J. Daniel Kulp
Principal Engineer, IONA
dkulp@apache.org
http://www.dankulp.com/blog
Re: Replica aware client
Posted by Mustafa Egilmezbilek <eg...@gmail.com>.
Thanks for the answer, Dan.
What I meant with replica-aware is the alternative URL(s) that is used by
client when server is down or the connection or recieve times out.
Thanks.
On Feb 13, 2008 5:11 PM, Daniel Kulp <dk...@apache.org> wrote:
>
> There are several timeout things available for configuring the http stuff
> on the client side. See:
>
> http://cwiki.apache.org/CXF20DOC/client-http-transport-including-ssl-support.html
>
> Dan
>
>
> On Wednesday 13 February 2008, blacksheep wrote:
> > Hi,
> >
> > Is there a way to configure CXF generated clients to access WS server
> > stack with a timeout value ?
> >
> > Thanks,
> >
> > Mustafa
>
>
>
> --
> J. Daniel Kulp
> Principal Engineer, IONA
> dkulp@apache.org
> http://www.dankulp.com/blog
>
--
Mustafa Egilmezbilek
Re: Replica aware client
Posted by Daniel Kulp <dk...@apache.org>.
There are several timeout things available for configuring the http stuff
on the client side. See:
http://cwiki.apache.org/CXF20DOC/client-http-transport-including-ssl-support.html
Dan
On Wednesday 13 February 2008, blacksheep wrote:
> Hi,
>
> Is there a way to configure CXF generated clients to access WS server
> stack with a timeout value ?
>
> Thanks,
>
> Mustafa
--
J. Daniel Kulp
Principal Engineer, IONA
dkulp@apache.org
http://www.dankulp.com/blog