feign-reactive
feign-reactive copied to clipboard
FilteredReactiveRetryPolicy with ExceptionPopagationPolicy
FilteredReactiveRetryPolicy doesn't override the exceptionPropagationPolicy
from ReactiveRetryPolicy
. So, either it should override that or use the exceptionPropagationPolicy from the RetryPolicy which it takes as an argument of constructor.
Now, Let's say we are passing BasicReactiveRetryPolicy (with ExceptionPropagationPolicy as UNWRAP) while creating instance for FilteredReactiveRetryPolicy. When Retries are exhuasted, that time exceptionPropagationPolicy flag will be NONE. So, it won't unwrap the OutOfRetryException. So, we need to override the exceptionPropagationPolicy
in FilteredReactiveRetryPolicy
.
@kptfh I have raised PR for this: https://github.com/PlaytikaOSS/feign-reactive/pull/658
fixed in https://github.com/PlaytikaOSS/feign-reactive/pull/679