Skip to content

only use specified listeners in @Retryable #493

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mjd507
Copy link

@mjd507 mjd507 commented Jun 24, 2025

Fixes: #485

@gaofengIt
Copy link

gaofengIt commented Jun 24, 2025 via email

@fengkongling
Copy link

fengkongling commented Jun 24, 2025 via email

@mjd507
Copy link
Author

mjd507 commented Jun 24, 2025

@artembilan kindly review and suggest.
Thank you

Copy link
Member

@artembilan artembilan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mjd507 ,

thank you for contribution, but we cannot accept it at the moment as we follow no breaking change in the point version.

public service() {
// ... do something
}
}
```

Starting with version 2.0.13, any bean instance of `RetryListener` are not considered as global listeners.
You always have to explicitly specify the `listeners` attribute in `@Retryable` if needed.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this is exactly why it has not been fixed yet.
This is a breaking change which we don't do according to our backward compatibility support.
This makes sense for a major version and we are not there yet.
We can keep your PR for time being though!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it. thank you

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.

Add a possibility to use listener per @Retryable method instead of global listeners
4 participants