I use spring boot 1.5.9.RELEASE and spring cloud Edgware.RELEASE. Put RefreshScope on the Application class is not working(when I hit /refresh endpoint, property not reloaded). I have to put it on the ServiceConfig class which holds the property. The annotation's document says that "Beans annotated this way can be refreshed at runtime".
I don't know if it used to work when you wrote the book. Maybe it's version-related?
Great book by the way!
I use spring boot 1.5.9.RELEASE and spring cloud Edgware.RELEASE. Put RefreshScope on the Application class is not working(when I hit /refresh endpoint, property not reloaded). I have to put it on the ServiceConfig class which holds the property. The annotation's document says that "Beans annotated this way can be refreshed at runtime".
I don't know if it used to work when you wrote the book. Maybe it's version-related?
Great book by the way!