uk.gov.hmrc.play.bootstrap.dispatchers
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait MdcExecutorServicetrait ExecutorServiceDelegatetrait ExecutorServicetrait AutoCloseabletrait Executorclass Objecttrait Matchableclass AnyShow all
This provides an ExecutorService which copies MDC to the next execution.
This provides an ExecutorService which copies MDC to the next execution.
This can be enabled with.
pekko.actor.default-dispatcher {
executor = "uk.gov.hmrc.play.bootstrap.dispatchers.MDCPropagatingExecutorServiceConfigurator"
}
Attributes
- Supertypes
-
class ExecutorServiceConfiguratortrait ExecutorServiceFactoryProviderclass Objecttrait Matchableclass Any
This provides an ExecutionContext which copies MDC data over in prepare(). Since prepare() is implicitly called by Promise#onComplete, MDC data will not be lost on many async boundaries. It may still be required to explicitly call prepare() in some scenarios (e.g. with pekko)
This provides an ExecutionContext which copies MDC data over in prepare(). Since prepare() is implicitly called by Promise#onComplete, MDC data will not be lost on many async boundaries. It may still be required to explicitly call prepare() in some scenarios (e.g. with pekko)
This can be enabled with.
pekko.actor.default-dispatcher {
type = "uk.gov.hmrc.play.bootstrap.dispatchers.MdcPropagatingDispatcherConfigurator"
}
Attributes
- Supertypes
-
class MessageDispatcherConfiguratorclass Objecttrait Matchableclass Any
propagates the logback MDC in future callbacks
propagates the logback MDC in future callbacks
Attributes
- Supertypes
-
trait ExecutionContextclass Objecttrait Matchableclass Any
- Self type