Read from Dead Letter Queue

As mentioned in the earlier post, at work I was “strongly encouraged” to use Azure Service Bus, instead of RabbitMQ Unfortunately SDK has FormatDeadLetterPath functionality but it is not available to HTTP REST API 1 Append /$DeadLetterQueue to the queue name.2 Refer to this SO comment Readers would remember that since Ruby is not officially supported by MS, we had to resort to using REST API to access the Azure Service Bus functionality.

Continue Reading »

Microsoft's Confusing (or Incorrect?) Documentation

At work, I’ve been using REST API to connect to Azure Service Bus because officially Microsoft does not support Ruby SDK (It is retired since 2015) The documentation related to accessing Azure Service Bus via REST API is very limited, and at time difficult to use. e.g. This documentation about How to unlock a message in the (Azure Service Bus) queue mentions this URL pattern to be used for the REST API call :

Continue Reading »

AMQP Versions

As I had mentioned earlier, at work I was “strongly encouraged” to use Azure Service Bus, instead of RabbitMQ (which was the technology I had suggested.) RabbitMQ has good Ruby support. I had chosen Sneakers (Which uses bunny under the hood) Since Azure Service Bus also supports AMQP, I was trying to see if we can use these libraries with Azure Service Bus. But connection itself wouldn’t work. I kept getting FrameTypeError

Continue Reading »