Azure Service Bus
Azure Service bus is a highly scalable service that helps achieving asynchronous messaging and exchanging data among decoupled systems. The purpose of this service is to make Integration reliable and highly available with the help of message queuing. It is a Platform as a Service (PaaS) offering from Microsoft azure. You can refer my article “Windows Azure Service Bus Brokered Messaging” to read Service Bus into details. This article focuses on administer and monitor service bus namespace and messages without writing code, with the help of Service Bus Explorer tool, written by Paolo Salvatori.
Service Bus Explorer
Service Bus Explorer is the tool that allows you to connect to Azure Service Bus and administer messaging entities much quickly and easily. It can be used with Service Bus managed namespaces hosted by both Azure and Windows Server. The tool provides great features including import/export functionality or the ability to test topic, queues, subscriptions, relay services, notification hubs and events hubs.
You can download the tool here. This is direct executable without any installation required. Once you download the tool you run “ServiceBusExplorer.exe” to use.
In the Service Bus Explorer go to File à Connect (or press Ctrl + N).
This will open a Connect window where you may chose to manually enter a connection string or choose from pre-saved connection strings of service bus.
To Save a Connection string, you have to edit “ServiceBusExplorer.exe.config” file in notepad, visual studio or any other editor of your choice. Screenshot below shows the location to add service bus connection string in config file, opened in Visual Studio.
You may also choose from list of entities to be connected to – Queues, Topics, Event Hubs, Notification Hubs and Relays.
Or Add Filter to select entities that fulfil desired conditions.
After Connecting to your Namespace, you would be able to perform multiple operations w.r.t. Entities such as
- Create and delete Queues/Topics
- Create and delete Subscriptions
- Enable/Disable Queues/Topics
- Filter and Refresh Queues/Topics
- Export Queues/Topics
- Rename Queues/Topics
- Copy URL
- Send, Receive and Delete Messages.
- Accessing Dead Letter Queue
And many more.
To Receive Message, Select the Entity and click Messages
In the Dialog box select the Receive mode, No of messages and Message Inspector (optional) to receive the messages.
This will open the list of messages where you can double click on a message to view message details.
Service Bus Explorer also provides a lot of advanced option and metrices for each message operations.
You can play around to explore Service Bus Explorer Further or you may also refer MSDN Article Service Bus Explorer to get into its detailed features.
The source code of the tool is publicly available on GitHub.