Monthly Archives: July 2017

Spring 4.3: Using a TaskDecorator to copy MDC data to @Async threads

In this post I am going to show how to copy MDC data from Web threads to @Async threads using a brand new Spring Framework 4.3 feature: ThreadPoolTaskExecutor#setTaskDecorator() [set-task-decorator]. This is the end result: Notice the third and second last

Tagged with: ,
Posted in Spring

Get notified per email when new posts are published