Package org.springframework.cloud.client
Annotation Type ConditionalOnReactiveDiscoveryEnabled
-
@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited @ConditionalOnClass(name="org.springframework.web.reactive.function.client.WebClient") @ConditionalOnProperty(value="spring.cloud.discovery.reactive.enabled", matchIfMissing=true) public @interface ConditionalOnReactiveDiscoveryEnabled
Provides a more succinct conditionalspring.cloud.discovery.reactive.enabled
. Also takes into account whether or not `WebClient` is on the classpath.- Since:
- 2.2.0
- Author:
- Tim Ysewyn