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
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