INT-3149: Cleanup of the What's New
JIRA: https://jira.springsource.org/browse/INT-3149 * Add a note about `GatewayMethodMetadata` * Squash several sections to one by type * Reorder by importance/interestingness * Remove a note about `MessagingException` for `RetryAdvice`, as the last one doesn't wrap exceptions to `MessagingException` on each retry
This commit is contained in:
committed by
Gary Russell
parent
66f714e33a
commit
7e94a3ecde
@@ -295,10 +295,11 @@ Caused by: java.lang.RuntimeException: foo
|
||||
<para>
|
||||
Spring Retry has a great deal of flexibility for determining which
|
||||
exceptions can invoke retry. The default configuration will retry
|
||||
for all exceptions. Given that, user exceptions may be wrapped in
|
||||
a <classname>MessagingException</classname> in the underlying handler,
|
||||
we need to ensure that the classification examines the exception causes.
|
||||
The default classifier just looks at the top level exception.
|
||||
for all exceptions and the exception classifier just looks at the
|
||||
top level exception. If you configure it to, say, only retry
|
||||
on <classname>BarException</classname> and your application throws
|
||||
a <classname>FooException</classname> where the cause is a
|
||||
<classname>BarException</classname>, retry will not occur.
|
||||
</para>
|
||||
<para>
|
||||
Since <emphasis>Spring Retry 1.0.3</emphasis>, the
|
||||
|
||||
Reference in New Issue
Block a user