Manage Service Bus Queue messages with Python

This post has been republished via RSS; it originally appeared at: Microsoft Developer Blogs.

In this post, Big Data Consultant Rakhi Guha shows how to get started with Python scripting to manage Service Bus Queue messages. This article provides a detailed idea on the following operation using python scripting platform. Send messages to Service Bus Queue Resubmit messages from Dead letter queue to Main queue Manage latest message instance by pushing existing message to Dead letter queue before submission. Send Message to Service Bus Queue: Resubmit messages from Dead letter Queue to Main Queue: Manage latest message instance by pushing existing message to Dead letter Queue before submission: Note: azure.servicebus namespace contains the required code artifacts for all the operation and class instances to be required. In the above scripts, the place holder needs to be replaced with the appropriate value. Message format will be use case specific and based on the message format, the logic for message sanity check in script 3 will be changed.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.