renewLock method

Future renewLock (MessageEnvelope message, int lockTimeout)

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 Future that receives an null for success. Throws error