Create a queue and add a message with the Azure portal
Create a queue
- Navigate to your new storage account in the Azure portal.
- In the left menu for the storage account, scroll to the Queue Storage section, then select Queues.
- Select the + Queue button.
- Type a name for your new queue. The queue name must be lowercase, must start with a letter or number, and can include only letters, numbers, and the dash (-) character.
- Select OK to create the queue.
Add a message
- Select the new queue from the list of queues in the storage account.
- Select the + Add message button to add a message to the queue. Enter a message in the Message text field.
- Specify when the message expires. Valid values that can be entered in the Expires in field are between 1 second and 7 days. Select Message never expires to indicate a message that will remain in the queue until it is explicitly removed.
- Indicate whether to encode the message as Base64. Encoding binary data is recommended.
- Select the OK button to add the message.
View message properties
After you add a message, the Azure portal displays a list of all of the messages in the queue. You can view the message ID, the contents of the message, the message insertion time, and the message expiration time. You can also see how many times this message has been dequeued.
Dequeue a message
You can dequeue a message from the front of the queue from the Azure portal. When you dequeue a message, the message is deleted.
Dequeueing always removes the oldest message in the queue.
Tag:Azure