With https://github.com/spring-projects/spring-framework/issues/26241 we should update @ConditionalOnSingleCandidate to work when there is a single regular bean and a fallback bean.