Azure Service Bus Demo

1. Send – Adds a new message to queue: demo-asb-queue

New messages begin with DeliveryCount = 0.

2. Peek – Reads messages without locking, removing, incrementing DeliveryCount. (max = 10)

Body Message Id Sequence Number Delivery Count Enqueued Time
rtrt 817b6e52f4de494cab5a1abe47023907 39 1 05/14/2026 19:26:12 +00:00
oppo d062d36445224725a83966700a1b9f11 40 1 05/14/2026 19:31:45 +00:00

3. Receive (Peek‑Lock) – Locks oldest message for processing without deleting it.

This create a LockToken and starts the LockedUntil countdown.
(When we receive and lock a message we cannot peek at any messages until the locked message is unlocked.)

TODO: Implement "Scheduled Messages", which allows a message to be "retry later"