Artem Bilan
8918c36849
Migrate to DCO from CLA
2025-01-14 15:53:22 -05:00
Artem Bilan
9120f9523f
Add Revved up by Develocity badge into README.md
2024-10-16 16:42:59 -04:00
Artem Bilan
dfc95fe42e
GH-229: Expose method & methodArgs into ctx from RetryOperationsInterceptor
...
Fixes : #229
Issue link: https://github.com/spring-projects/spring-retry/issues/229
The logic in the target `RetryPolicy` might be based on the method and its arguments we retry.
* Expose `method` & `methodArgs` `RetryContext` attributes from an internal implementation
of the `MethodInvocationRetryCallback` in the `RetryOperationsInterceptor`
* Document these attributes
2024-09-13 11:07:08 -04:00
Artem Bilan
9d8df3b4d0
GH-458: Introduce MetricsRetryListener
...
Fixes : #458
* Fix code formatting violations
* * Make `retryContextToSample` as an `IdentityHashMap` and use `RetryContext` as a key
* Change `setCustomTags()` to the `@Nullable Iterable<Tag>` argument
* Use `exception = none` tag for successful executions to avoid time-series conflicts
2024-08-13 12:34:43 -04:00
Vicente Soriano
8e5cafe200
GH-460: Fix required Java version in README
...
Fixes : #460
2024-08-13 12:06:10 -04:00
Stéphane Nicoll
ab1190dbf7
Fix CI badge in README to use GHA
2024-07-14 10:48:06 +02:00
Artem Bilan
26697ea098
GH-418: Add spring-retry Maven coordinates into README
...
Fixes : #418
2024-05-10 15:45:53 -04:00
Kamil Łopuszański
94424350e1
Update README for runtimeOnly
...
Fixes : #423
* And also uses `retryFor` instead of deprecated `include` or `value`
2024-02-16 17:16:33 -05:00
Artem Bilan
e029dfd790
GH-402: Improve docs for RetryCallback
...
Fixes https://github.com/spring-projects/spring-retry/issues/402
2023-11-27 13:42:39 -05:00
hoonti06
3a8201298a
Fix return of RetryListener.open() in README
2023-11-16 08:45:34 -05:00
Liran M
36ec1bb7c0
feat: ISSUE-228 random - document as Jitter ( #376 )
...
* feat: ISSUE-228 random - document as Jitter
Signed-off-by: liran2000 <liran2000@gmail.com >
* fix build format
Signed-off-by: liran2000 <liran2000@gmail.com >
* Decapitalize jitter.
---------
Signed-off-by: liran2000 <liran2000@gmail.com >
Co-authored-by: Gary Russell <grussell@vmware.com >
2023-09-11 13:21:31 -04:00
Gary Russell
99099b9c1c
Add Option to Avoid Use of ThreadLocal
...
* Add an option to store contexts in a map instead of a `ThreadLocal`
* Subclass existing tests to verify functionality
2023-08-30 13:05:08 -04:00
raimon
54bfabe9d5
Fix link to RetryTemplate examples
...
Use internal links naturally generated by GitHub instead of setting
internal links with your own HTML tags.
See gh-363
2023-06-16 11:22:18 +02:00
Siva Kumar Edupuganti
0b37cc082e
Added getting support links into README
2023-02-22 11:10:31 -05:00
Henning Pöttker
87307292a5
Deprecate RetryListenSupport for default methods
...
Deprecate a `RetryListenerSupport` in favor of `default` methods in `RetryListener` interface
2022-11-28 16:57:01 -05:00
gmedici
9ffdd55cf2
Allow composing @Retryable annotation
...
* fix(Retryable): allow composing `Retryable` annotation with recover argument annotated with @AliasFor by using `AnnotatedElementUtils.findMergedAnnotation` in `AnnotationAwareRetryOperationsInterceptor`
* Updated README.md with example and explanation for custom annotation composition with @Retryable
Added author and fix import style.
* Updated README.md removed version 2.0 mention on the Further customizations section
2022-10-05 10:47:43 -04:00
Gary Russell
860bd0db4b
GH-264: Enable Skipping Recovery
...
Resolves https://github.com/spring-projects/spring-retry/issues/264
2022-09-12 17:23:17 -04:00
Gary Russell
47c1e52900
GH-184: Expression Evaluation at Runtime
...
Resolves https://github.com/spring-projects/spring-retry/issues/184
* Remove `args` property when using stateful (including CircuitBreaker).
Other polishing from review.
* Docs for stateful.
2022-05-04 15:21:29 -04:00
Nitin
7a86c9eb98
Update README.md
2022-04-25 13:51:57 -04:00
Gary Russell
aed39de54b
GH-231: Support Retry Based on Result
...
Resolves https://github.com/spring-projects/spring-retry/issues/231
Enhance `RetryListener` to allow it to examine the result to determine
whether the call should be accepted, or retried according to the retry
policy.
* Restore missing period in doc.
2022-04-19 14:17:21 -04:00
Artem Bilan
ece15aa2a8
GH-285: Remove extra bean for service in README
...
Fixes https://github.com/spring-projects/spring-retry/issues/285
2022-04-18 09:32:29 -04:00
Stephane Nicoll
fd6215eae8
Initiate Spring Retry 2.0.x
2022-04-15 09:19:10 +02:00
Gary Russell
e1ebf233d7
Revert "GH-264: Docs and Javadocs"
...
This reverts commit 0c1fa828a8 .
2022-04-14 16:51:02 -04:00
Gary Russell
0c1fa828a8
GH-264: Docs and Javadocs
2022-04-12 11:43:37 -04:00
Stephane Nicoll
302f799993
Revert "Fix typo"
...
This reverts commit e528eca05d as this
change was only available as of 1.3.2
2022-03-03 16:13:18 +01:00
Stephane Nicoll
e528eca05d
Fix typo
2022-03-03 09:35:06 +01:00
Stephane Nicoll
3901affdfa
Fix badge to new CI pipeline
2022-03-03 09:05:42 +01:00
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