You are managing an Azure Service Bus Premium namespace. Your application requires strict transactional messaging where a worker receives a message from Queue A, processes it, and sends a resulting message to Queue B. If any step fails, both actions must be rolled back. How should you implement this?
TransactionScope coordinates ambient transactions across Service Bus entities within the same Premium namespace.
Why this answer
Using .NET TransactionScope with Service Bus allows receiving from Queue A and sending to Queue B within a single atomic transaction.