DeadLetterPolicy class

Dead lettering is done on a best effort basis.

The same message might be dead lettered multiple times. If validation on any of the fields fails at subscription creation/updation, the create/update subscription request will fail.

Constructors

DeadLetterPolicy({String? deadLetterTopic, int? maxDeliveryAttempts})
DeadLetterPolicy.fromJson(Map json_)

Properties

deadLetterTopic String?
The name of the topic to which dead letter messages should be published.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxDeliveryAttempts int?
The maximum number of delivery attempts for any message.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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