Added route config

This commit is contained in:
Ryan Baxter
2016-10-27 15:02:17 -04:00
parent fe56d96295
commit 8a7df36d88

View File

@@ -1618,7 +1618,7 @@ as a fallback. Here is a very simple `ZuulFallbackProvider` implementation.
class MyFallbackProvider implements ZuulFallbackProvider {
@Override
public String getRoute() {
return "zuulserver";
return "customers";
}
@Override
@@ -1660,6 +1660,15 @@ class MyFallbackProvider implements ZuulFallbackProvider {
}
----
And here is what the route configuration would look like.
[source,yaml]
----
zuul:
routes:
customers: /customers/**
----
=== Polyglot support with Sidecar
Do you have non-jvm languages you want to take advantage of Eureka, Ribbon and