Renew-Lock for Message from Subscription (Non-Destructive Read)
Renews an already locked message for continuing processing (long running operations).
| Method | Request URI | HTTP Version |
|---|---|---|
|
POST |
http{s}://{serviceNamespace}.servicebus.Windows.net/{queue-path}/ messages/{message-id}/{lock-id} |
HTTP/1.1 |
URI Parameters
None.
Request Headers
The following table describes required and optional request headers.
| Request Header | Description |
|---|---|
|
Authorization |
??? |
Request Body
None.
Response Codes
| Code | Description |
|---|---|
|
201 |
Message successfully locked for processing and lock is created. |
|
204 |
No messages available within the specified timeout period. |
|
400 |
Invalid timeout. |
|
401 |
Authorization failure. |
|
404 |
Subscription never existed. |
|
410 |
Specified subscription does not exist. |
|
500 |
Internal error. |
For information about status codes, see Status and Error Codes.
Response Headers
The response for this operation includes the following headers. The response may also include additional standard HTTP headers. All standard headers conform to the HTTP/1.1 protocol specification.
| Response Header | Description |
|---|---|
|
Location |
The URI of the locked message. This URI is needed to unlock or delete the message. |
Response Body
The response body is the message body of the retrieved message.