You can bind to a Map<String,String> with application.yml, so there's no need to work so hard to extract the zuul routes.