Guice does not allow to bind an interface to multiple implementations.
That's why you get the "HttpRetryHandler already registered with
ClientError and can not be binded again" error when you try to bind
your custom handler. jclouds already has a default retry handler
bound, so you can't bind your
Whether our impl need to extend BackoffLimitedRetryHandler or RetryOnRenew
or need to implement HttpRetryHandler.
Please clarify on this.
Also please share me some examples, if you have.
On Wed, Sep 14, 2016 at 12:19 AM, Ignasi Barrera wrote:
> Hi,
>
> It is not easy to override bindings in Gu
Hi,
It is not easy to override bindings in Guice modules. The common way to do
that is by using the "Modules.override" helper but in this case, since the
module that defines the binding is a default module in the api metadata and
it is jclouds who instantiates it, you won't be able to use that.
W