moveToDeadLetter method

  1. @override
Future moveToDeadLetter(
  1. MessageEnvelope message
)

Permanently removes a message from the _queue and sends it to dead letter _queue. Important: This method is not supported by RabbitMQ. Parameters:

  • message a message to be removed. Return Future that recive a null when all done Throws error

Implementation

@override
Future moveToDeadLetter(MessageEnvelope message) async {
  _checkOpened('');
  // Operation is not supported
}