Working with messages
As message manipulations are actually actions performed against a queue, the message methods are also part of the CloudQueue
class.
Documentation for the REST library can be found at http://msdn.microsoft.com/en-us/library/dd135717.aspx. The base URI for accessing queues via the REST API is http://<account>.queue.core.windows.net/<queue>/messages
.
To address a specific message by its ID, the URI is http://<account>.queue.core.windows.net/<queue>/messages/messageid?popreceipt=<messageid>
. The different HTTP verbs (POST, GET, DELETE
) are used to determine the action. Note that the specific queue name is specified as part of the URI. Message properties are specified in the request body, which is in Atom format. Response bodies are also in Atom format.
Parameter |
Rest API |
Client library |
---|---|---|
Put messages |
A message is added to the end of a queue by submitting a |