Skip to content

Conversation

@stevenlmcgraw
Copy link

Issue #8411

DRAFT

Modeled after RecoveryInterceptor and Recoverable/Fallback annotations.

Extend micronaut-retry system with callback invoked on retries exhausted:

  • Add RetryExhaustedActionable.java annotation
  • Add RetryExhaustedCallback.java
  • Add RetryExhaustedActionInterceptor.java
  • Add RetryExhaustedCallbackException.java

DRAFT
> Modeled after `RecoveryInterceptor` and `Recoverable`/`Fallback` annotations.

Extend `micronaut-retry` system with callback invoked on retries exhausted:
- Add `RetryExhaustedActionable.java` annotation
- Add `RetryExhaustedCallback.java`
- Add `RetryExhaustedActionInterceptor.java`
- Add `RetryExhaustedCallbackException.java`
@stevenlmcgraw
Copy link
Author

I was poking around old issues with the info: good first issue label and found #8411, it seems like something that could be useful in some scenarios.

Based on this comment it seemed like something along these lines is what is preferred.

If there's any interest in pursuing #8411, and this seems like the right way to do it, let me know and I can add tests and what not (or changes of course).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant