renewLock abstract method

  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.

  • message a message to extend its lock.
  • lockTimeout a locking timeout in milliseconds. Return (optional) Future that receives an null for success. Throws error

Implementation

@override
Future renewLock(MessageEnvelope message, int lockTimeout);