DeadLetterBroker class abstract interface

Optional broker capability for dead-letter inspection and replay.

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deadLetter(Delivery delivery, {String? reason, Map<String, Object?>? meta}) Future<void>
Moves a delivery to the dead-letter store.
getDeadLetter(String queue, String id) Future<DeadLetterEntry?>
Retrieves a single dead letter entry by envelope id.
listDeadLetters(String queue, {int limit = 50, int offset = 0}) Future<DeadLetterPage>
Lists dead letter queue entries for queue.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purgeDeadLetters(String queue, {DateTime? since, int? limit}) Future<int>
Removes dead letter entries from queue.
replayDeadLetters(String queue, {int limit = 50, DateTime? since, Duration? delay, bool dryRun = false}) Future<DeadLetterReplayResult>
Replays dead letter entries back onto the active queue.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited