diff --git a/multi/multi__configuration.html b/multi/multi__configuration.html index 76786fb1..b42dff4a 100644 --- a/multi/multi__configuration.html +++ b/multi/multi__configuration.html @@ -44,4 +44,20 @@ ) .build(); }
-
This style also allows for more custom predicate assertions. The predicates defined by RouteDefinitionLocator beans are combined using logical and. By using the fluent Java API, you can use the and(), or() and negate() operators on the Predicate class.
The Gateway can be configured to create routes based on services registered with a DiscoveryClient compatible service registry.
To enable this, set spring.cloud.gateway.discovery.locator.enabled=true and make sure a DiscoveryClient implementation is on the classpath and enabled (such as Netflix Eureka, Consul or Zookeeper).