If https://github.com/spring-projects/spring-framework/pull/30396 is merged we can deprecate our own implementation (assuming they are compatible).