Skip to content

Inspect Azure Service Bus messages silently without touching them.

License

Notifications You must be signed in to change notification settings

robinmanuelthiel/servicebusspy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuGet

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 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 installed on your machine.

dotnet tool install servicebusspy --global

Update or remove

# Update
dotnet tool update servicebusspy --global

# Remove
dotnet tool uninstall servicebusspy --global

Usage

List all messages of a queue

servicebusspy list 
  --queue "Test" \
  --connectionString "YOUR_SERVICE_BUS_CONNECTION_STRING" \
  --verbose # optional

Add a message to a queue

servicebusspy add "Message Content" \
  --queue "Test" \
  --connectionString "YOUR_SERVICE_BUS_CONNECTION_STRING"

Subscribe to new messages in a queue

servicebusspy subscribe 
  --queue "Test" \
  --connectionString "YOUR_SERVICE_BUS_CONNECTION_STRING" \
  --verbose # optional

Delete (dead letters) all messages in a queue

servicebusspy clear 
  --queue "Test" \
  --connectionString "YOUR_SERVICE_BUS_CONNECTION_STRING"

About

Inspect Azure Service Bus messages silently without touching them.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages