https://github.com/robinmanuelthiel/servicebusspy
Inspect Azure Service Bus messages silently without touching them.
https://github.com/robinmanuelthiel/servicebusspy
azure service-bus service-bus-queue
Last synced: 6 months ago
JSON representation
Inspect Azure Service Bus messages silently without touching them.
- Host: GitHub
- URL: https://github.com/robinmanuelthiel/servicebusspy
- Owner: robinmanuelthiel
- License: mit
- Created: 2019-04-03T11:54:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T04:24:43.000Z (almost 3 years ago)
- Last Synced: 2025-02-12T23:20:36.484Z (8 months ago)
- Topics: azure, service-bus, service-bus-queue
- Language: C#
- Homepage:
- Size: 33.2 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.nuget.org/packages/ServiceBusSpy)
# Azure Service Bus Spy
A simple command line tool to silently inspect Azure Service Bus messages without touching them.
As other existing tools like the [Service Bus Explorer](https://github.com/paolosalvatori/ServiceBusExplorer) mostly run on Windows only, I descided to quickly write a **cross-platform** command line tool based on .NET Core to explore messages in Azure Service Bus.
### Installation
Make sure to have at least [.NET Core 2.1](https://dotnet.microsoft.com/download) installed on your machine.
```bash
dotnet tool install servicebusspy --global
```### Update or remove
```bash
# Update
dotnet tool update servicebusspy --global# Remove
dotnet tool uninstall servicebusspy --global
```## Usage
### List all messages of a queue
```bash
servicebusspy list
--queue "Test" \
--connectionString "YOUR_SERVICE_BUS_CONNECTION_STRING" \
--verbose # optional
```### Add a message to a queue
```bash
servicebusspy add "Message Content" \
--queue "Test" \
--connectionString "YOUR_SERVICE_BUS_CONNECTION_STRING"
```### Subscribe to new messages in a queue
```bash
servicebusspy subscribe
--queue "Test" \
--connectionString "YOUR_SERVICE_BUS_CONNECTION_STRING" \
--verbose # optional
```### Delete (dead letters) all messages in a queue
```bash
servicebusspy clear
--queue "Test" \
--connectionString "YOUR_SERVICE_BUS_CONNECTION_STRING"
```