Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.53 KB

File metadata and controls

55 lines (37 loc) · 1.53 KB

Create an Azure Service Bus Queue

servicebus/create-queue/README.md

Prerequisites

This example assumes you have previously completed the following examples:

  1. Create an Azure Resource Group
  2. Create an Azure Service Bus

Create an Azure Service Bus Queue

First, create the environment variable used for our message queue using the command line below:

  export SERVICE_BUS_QUEUE=service-bus-queue

Then, create the Azure Service Bus using the following command line:

  az servicebus queue create \
    --resource-group $RESOURCE_GROUP \
    --namespace-name $SERVICE_BUS \
    --name $SERVICE_BUS_QUEUE

Cleanup

Do NOT forget to remove the resources once you are done running the example.

1m