Skip to content

Latest commit

 

History

History
67 lines (40 loc) · 2.92 KB

README.md

File metadata and controls

67 lines (40 loc) · 2.92 KB

Provision Azure Service Bus Utility

This repository contains utility to provision Service Bus Queues, Topic and Subscriptions on Azure

Pre-requisite

You will need a Service Bus namespace URL for creating Queues, Topics and Subscriptions, you can refer this URL for creating a Service Bus namespace

Steps to run the utility

Step 1: Clone this repository

git clone https://github.com/rishikeshjadhav/azure-provision-service-bus.git

Step 2: Open below solution in Visual Studio (2015 or higher)

<Repo>\NitorOSS.Azure.ProvisionServiceBus\NitorOSS.Azure.ProvisionServiceBus.sln

Step 3: Build the solution (This will download all the required dependencies from Nuget)

Step 4: Run the utility using Visual Studio (2015 or higher)

Step 5: You will be asked a series of questions for provisioning Service Bus Queue, Topic or Subscriptions

Functions of utility

1. Create Service Bus Queue

For details on how to provision Service Bus Queue using this utility, please refer this link

For details on how to provision Service Bus Queue using portal, please refer this link

2. Create Service Bus Topic

For details on how to provision Service Bus Topic using this utility, please refer this link

For details on how to provision Service Bus Topic using portal, please refer this link

3. Create Service Bus Topic Subscription (with filtering capability)

For details on how to provision Service Bus Topic subscription using this utility, please refer this link

For details on how to provision Service Bus Topic subscription using portal, please refer this link

Usage

For provisioning Queue, Topic and Subscriptions

Run the utility using Visual Studio and answer the questions for provisioning the component

For provisioning Subscription with filtering capability

Provide the SQL Filter expression for the subscription filter, few examples of SQL Filter expressions are,

  1. Filter messages with Department as HR
    Department = HR
  1. Filter messages with Role as admin or user
    Role = admin OR Role = user

For a detailed list of SQL filter syntax, please refer this link