renewLock method Null safety

  1. @override
Future renewLock(
  1. MessageEnvelope message,
  2. int lockTimeout
)
override

Renews a lock on a message that makes it invisible from other receivers in the _queue. This method is usually used to extend the message processing time. Important: This method is not supported by RabbitMQ. Parameters:

  • message a message to extend its lock.
  • lockTimeout a locking timeout in milliseconds. Return Future that recive a null if all ok Throws error