We're using a config server and Spring Cloud Bus to distribute a RefreshRemoteApplicationEvent. This works fine so far.
When our Zuul Proxy receives the event with changed routes they don't get loaded.
I've solved this by adding my own RefreshListener which does the following:
zuulHandlerMapping.setDirty(true);
After adding this the refresh works fine and new routes are added.
We're on Cameden SR5.
It's quite a simple setup.
One config server.
One Zuul server.
One RabbitMQ.
To reproduce add a route to the config and invoke the /monitor endpoint on the configserver.
The Zuul gets triggered but the routes are not changed.
If you need any further information feel free to ask anytime.
We're using a config server and Spring Cloud Bus to distribute a RefreshRemoteApplicationEvent. This works fine so far. When our Zuul Proxy receives the event with changed routes they don't get loaded. I've solved this by adding my own RefreshListener which does the following:
zuulHandlerMapping.setDirty(true);
After adding this the refresh works fine and new routes are added.
We're on Cameden SR5. It's quite a simple setup. One config server. One Zuul server. One RabbitMQ.
To reproduce add a route to the config and invoke the /monitor endpoint on the configserver. The Zuul gets triggered but the routes are not changed.
If you need any further information feel free to ask anytime.