Hi all,

I need to configure the number of retries to a specific Stub instance.

I'v create a class that implements
org.apache.commons.httpclient.HttpMethodRetryHandler, if i use the following
code in my code, this Handler is used:

HttpClientParams.getDefaultParams().setParameter(HttpClientParams.RETRY_HANDLER,
myretryhandler);

But i need to set it to a specific stub, not to entire system.

I've tried it but didn't work:

stub._getServiceClient().getOptions().setProperty(
HttpClientParams.RETRY_HANDLER, myretryhandler);

What's the valid value to setProperty of Options?
The property HttpClientParams.RETRY_HANDLER should work properly in this
case?

Best regards

IsaĆ­as Barroso

Reply via email to