문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 | 마지막 판 양쪽 다음 판 | ||
springframework:async [2022/06/28 15:43] kwon37xi [MdcTaskDecorator.java] |
springframework:async [2022/06/28 15:44] kwon37xi [MdcTaskDecorator.java] |
||
---|---|---|---|
줄 77: | 줄 77: | ||
// Right now: @Async thread context ! | // Right now: @Async thread context ! | ||
// (Restore the Web thread context' | // (Restore the Web thread context' | ||
- | if (contextMap | + | if (contextMap |
- | | + | |
} | } | ||
- | MDC.setContextMap(contextMap); | + | |
runnable.run(); | runnable.run(); | ||
} finally { | } finally { |