Managing Actuator changes
Most of the Actuator changes are related to the default behavior of the exposed endpoints. For instance, the JMX endpoint behavior is aligned with the web endpoint behavior; for that reason, it only exposes the Health endpoint by default, while previously, all JMX endpoints were exposed by default. If your project relies on that functionality, you must expose it explicitly.
In addition to Actuator’s default behavior, our project uses the httptrace
endpoint, which changes the behavior and the required implementation. In this recipe, we’ll fix the httptrace
endpoint and make the necessary configuration changes to keep the same behavior we had for Actuator.
Getting ready
To start this recipe, you will need the outcome of the previous recipe, Upgrading Spring Data. In case you haven’t completed it yet, I prepared a version that you can find in the book’s GitHub repository at https://github.com/PacktPublishing/Spring-Boot-3...