Avoid throws Exception where possible - Phase I

* Polishing - PR Comments
This commit is contained in:
Gary Russell
2019-03-07 12:53:52 -05:00
committed by Artem Bilan
parent 005bc80680
commit b187bca36e
130 changed files with 992 additions and 784 deletions

View File

@@ -327,6 +327,8 @@ When `true`, it traverses exception causes until it finds a match or runs out of
To use this classifier for retry, use a `SimpleRetryPolicy` created with the constructor that takes the max attempts, the `Map` of `Exception` objects, and the `traverseCauses` boolean.
Then you can inject this policy into the `RetryTemplate`.
IMPORTANT: `traverseCauses` is required in this case because user exceptions may be wrapped in a `MessagingException`.
[[circuit-breaker-advice]]
===== Circuit Breaker Advice