implicit final class ContextLocalAwareActorRef extends AnyVal
Add two new methods that allow MDC info to be passed to MDCContextAware actors.
Do NOT use these methods to send to actors that are not MDCContextAware.
- Source
- MDCContextAware.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ContextLocalAwareActorRef
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ContextLocalAwareActorRef(ref: ActorRef)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- def !>(msg: Any)(implicit context: ActorContext): Unit
Send a message to an actor that is MDCContextAware - it will propagate the current MDC values.
Send a message to an actor that is MDCContextAware - it will propagate the current MDC values. Note: we MUST capture the ActorContext in order for senders to be correct! This was a bug from the original author.
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def ?>(msg: Any)(implicit context: ActorContext, timeout: Timeout): Future[Any]
"Ask" an actor that is MDCContextAware for something - it will propagate the current MDC values
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val ref: ActorRef
- def toString(): String
- Definition Classes
- Any