33 Commits

Author SHA1 Message Date
Gary Russell
7692782d37 GH-237: Fix Multiple RetryListeners for @Retryable
Resolves https://github.com/spring-projects/spring-retry/issues/237

- also don't include non-singletons or perform eager inits
- `spring-javaformat` has reformatted some other code

* Update main branch name in README.

* Fix `getBeansOfType()`.
2021-04-20 14:53:09 -04:00
Gary Russell
fdfd541ddf Fix typo in README 2021-03-09 17:03:41 -05:00
Gary Russell
ae3ad4a249 Docs and test polishing for previous commit 2021-03-09 16:48:21 -05:00
Torben Möller
048238e286 Fixed wording 2020-09-22 15:56:44 +01:00
Dimitrios Liapis
f3ccdb298a Fix Readme.md formatting issue 2020-06-02 12:03:59 -04:00
Jay Bryant
7b8dae8e93 Editing pass
Edited for spelling, punctuation, usage, and corporate voice.
Also added an external link and a cross-reference.
2020-05-18 10:04:58 +00:00
Dave Syer
0f1eb43f59 Clarify partial lost of method arguments
Fixes #190
2020-01-20 11:37:20 +00:00
kitaisreal
c12bf15134 GH-85: Allow recover by name in the @Retryable
Fixes https://github.com/spring-projects/spring-retry/issues/85

* Added recover name in `Retryable` annotation.
Added name in Recover annotation.
Updated tests.

* Removed unneccessary parameter name from Recover annotation

* Updated entry iteration.
Updated Copyrights.
Added more explicit documentation.

* Updated javadoc.
Updated Readme.

* Fixed Readme

* Fixed tabs.
Updated javadoc.
2019-11-11 16:41:42 -05:00
Jay Bryant
5a1a3bfbf3 Editing pass
I edited for spelling, puncutation, grammar, usage, and corporate voice.
2019-09-06 10:04:56 +01:00
Dave Syer
8382f73a55 Better link in CI badge 2019-05-31 10:06:58 +01:00
Dave Syer
01abf7bd6e Add badges 2019-05-30 17:10:13 +01:00
Alexander Shamukov
c7174c9ee5 Readme for fluent template configuration
* Heading style fix
2019-05-18 09:02:36 -04:00
Marius Grama
07800ee870 Code cosmetics 2019-04-23 08:23:21 +01:00
Marius Grama
b599c23404 Expose the MethodInvocation in the MethodInvocationRetryCallback in order to permit to concrete RetryListener implementations to inspect in detail the method called as well as its arguments. This information can be used in the retry listener for either detailed logging or monitoring for the proxied method invocations. 2019-04-23 08:23:21 +01:00
Aldo Sinanaj
2a6cd8b447 GH-89: Deprecate templated expressions
Fixes https://github.com/spring-projects/spring-retry/issues/89

* Use literal expressions also for other expression properties
* Revert changes as suggested in the comments
* Updated copyright
* Polishing code style
* Fix JavaDoc in the `RetryTemplateBuilder`
2019-03-27 12:18:39 -04:00
Neil Brown
8bef15de04 Document @Retryable's additional runtime dependency and advice on how it's best resolved. (Also fix broken link to contributor's agreement) 2019-03-06 02:51:33 -05:00
Dave Syer
bdd467c2f8 Typo in README 2017-12-12 00:52:26 -08:00
Kay Bucksch
50b30e446a Update README.md
Add information about usage of `@Recover` annotation. This can help others not loosing time when researching how to use `@Recover` annotation and method its placed on.
2017-12-12 17:51:39 +09:00
maciekwiso
71a05c622e Info on how to define listeners with annotations 2017-12-06 03:39:59 +09:00
Gary Russell
757f4ad546 GH-34: Resolve Placeholders in Expressions
Further enhancement to #34
2017-01-13 12:25:20 -05:00
Gary Russell
ba35d97222 Add Expression Support to @Retryable
Resolves GH-34
2016-11-30 20:17:43 -05:00
Dave Syer
50394f1bd0 Remove reference to nonexistent setter in README 2016-11-14 16:35:42 +00:00
Dave Syer
b6aadb0f13 Add Serializable to all retry contexts and policies
Any time they get cached in a more advanced cache than the default
map-based one, the serializability is useful (probably
mandatory for most distribued caches, even if that is probably
overkill).
2016-11-14 11:00:31 +00:00
Dave Syer
bdda948e1a Correct README with usage for setting retryable exceptions 2016-11-14 09:22:57 +00:00
Gary Russell
5e31f49e07 GH-19 SimpleRetryPolicy MaxAttempts JavaDocs
See GH-19
2016-08-23 10:52:04 +01:00
Dave Syer
4f00bb60d8 Add example of @Recover with args 2016-08-23 10:43:46 +01:00
Dave Syer
c8f2d07adb Clarify rethrowing of original exception in RetryTemplate 2016-08-23 10:38:12 +01:00
Dave Syer
7be8f1789e Add contributing section and link to CLA 2016-08-23 10:19:28 +01:00
Dave Syer
48835d7a3c Fix package name in README 2016-08-23 10:15:08 +01:00
Gary Russell
d0ac53c76e Add Code of Conduct 2016-02-03 09:58:36 -05:00
Dave Syer
2abfcef18c Add Retryable interface for proxies advising @Retryable beans
This is purely a marker interface, but might be useful for other tools
looking to apply retry advice (they should usually not bother if the
bean already implements Retryable)
2014-04-24 14:17:12 +01:00
Dave Syer
9fb92bccbd Add support for @Recover 2014-04-24 09:41:26 +01:00
Dave Syer
9e2c23e795 Add README from Spring Batch docs 2014-04-23 16:21:11 +01:00