private RetryStrategy applyContext(final RetryContext retryContext) { final Optional<RetryRule> matchingRetryRuleOption = findMatchingRetryRule(retryRules, retryContext); final RetryRule matchingRetryRule = matchingRetryRuleOption .orElseGet(() -> RetryRule.of(RetryPredicate.ofAlwaysTrue(), RetryAction.ofGiveUpAndSendLatestException())); return matchingRetryRule.apply(retryContext); }