ConsumerException class

Exception can be used to control message ack behaviour.

When this exception is thrown inside a BrokerAPI consumer method, the message will be rejected. If requeue is true, the message will be requeued for either this or another consumer to try processing it again.

Implemented types

Constructors

ConsumerException(String message, {bool requeue = false})

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
final
requeue bool
final
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
toString() String
A string representation of this object.
override

Operators

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