Class SuppressedDeadLetter
Similar to DeadLetter with the slight twist of NOT being logged by the default dead letters listener. Messages which end up being suppressed dead letters are internal messages for which ending up as dead-letter is both expected and harmless.
Implements
Inherited Members
Namespace: Akka.Event
Assembly: Akka.dll
Syntax
public sealed class SuppressedDeadLetter : AllDeadLetters, IWrappedMessage
Constructors
| Improve this Doc View SourceSuppressedDeadLetter(IDeadLetterSuppression, IActorRef, IActorRef)
Initializes a new instance of the SuppressedDeadLetter class.
Declaration
public SuppressedDeadLetter(IDeadLetterSuppression message, IActorRef sender, IActorRef recipient)
Parameters
Type | Name | Description |
---|---|---|
IDeadLetterSuppression | message | The original message that could not be delivered. |
IActorRef | sender | The actor that sent the message. |
IActorRef | recipient | The actor that was to receive the message. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | This exception is thrown when either the sender or the recipient is undefined. |