jolokia / jolokia

JMX on Capsaicin
https://www.jolokia.org
Apache License 2.0
815 stars 223 forks source link

EndpointServlet is marked as deprecated since Spring Boot 3.3 #740

Open rfelgent opened 1 month ago

rfelgent commented 1 month ago

Hi,

the "jolokia-spring" integration uses the deprecated EndpointServlet class. Jolokia's Spring Boot integration will not be work after version 3.5 of Spring Boot (marked deprecated classes will be removed after 2 minor version upgrades)

More information about the deprecated stuff is available here https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.3-Release-Notes.

Shall I provide a merge request ?

grgrzybek commented 1 month ago

Thanks for report - a PR would be great and I'd be happy to review it.

rfelgent commented 1 month ago

I'll give it a try

grgrzybek commented 1 month ago

At first glance I don't like this change... It's not obvious how to expose a servlet as management endpoint...