Added documentation about how to use the retry filter with the forward protocol. Fixes #356

This commit is contained in:
Ryan Baxter
2018-10-15 13:52:12 -04:00
parent b27ea537ba
commit 709ef436f7

View File

@@ -773,7 +773,10 @@ spring:
statuses: BAD_GATEWAY
----
NOTE: At this time a URI using the `forward` protocol does not support using the retry filter.
NOTE: When using the retry filter with a URI that uses the `forward` protocol, the endpoint you forward to should
not return a `ResponseEntity` or else the retry filter will not be able to retry the request do to the response
already being committed in the exchange. Instead the endpoint should throw an exception and the retry filter
should be configured to retry on that exception.
== Global Filters