I want to put a "UUID" into MDC when the service accept a http request. Because it's convenience for log search.
I was inherited HttpRequestHandlingMessagingGateway and found the handleRequest() was final so that I can't overwrite it .
So is there a way to do something when accept a request(MDC.put()) and write response(MDC.remove()) ?