Skip to content

Expose retry attempts in RetryException #35351

@snicoll

Description

@snicoll

Looking at some usage in Spring Kafka, it would be nice if the suppressed exceptions that are added in the RetryException would be a bit more visible.

We're considering adding a callback where a user would get the RetryException and run some recovery logic based on what happens. The number of retries is of interest. I am not sure that being able to inspect the inspections is that useful, but it would certainly help if we had something higher level than the suppressed exceptions.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions