Class AsyncExecutorConfig.PropagateMdcTaskDecorator

java.lang.Object
es.kukenan.smartfi.common.config.AsyncExecutorConfig.PropagateMdcTaskDecorator
All Implemented Interfaces:
org.springframework.core.task.TaskDecorator
Enclosing class:
AsyncExecutorConfig

private class AsyncExecutorConfig.PropagateMdcTaskDecorator extends Object implements org.springframework.core.task.TaskDecorator
Decorator that propagates MDC in asynchronous executions.
  • Constructor Details

    • PropagateMdcTaskDecorator

      private PropagateMdcTaskDecorator()
  • Method Details

    • decorate

      public Runnable decorate(Runnable runnable)
      Specified by:
      decorate in interface org.springframework.core.task.TaskDecorator