Skip to content

@Retryable is not working for generic methods #278

@KaisNeffati

Description

@KaisNeffati

Hello there,

We have a common generic method enabling us to perform HTTP requests. We have a problem annotating this method by @retryable

This is an example :

    @Retryable(maxAttempts = 10, backoff = @Backoff(delay = 100))
    public <T> T processCall(Call<T> call, String method) {
        throw new RuntimeException("Hello");
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions