Added logic to write to Azure Service Bus