Azure: How to move messages from poison queue to back to main queue?

前端 未结 7 1792
慢半拍i
慢半拍i 2020-12-30 06:57

I\'m wondering if there is a tool or lib that can move messages between queues? Currently, i\'m doing something like below

public static void ProcessQueueMes         


        
7条回答
  •  一整个雨季
    2020-12-30 07:40

    Essentially Azure Storage doesn't support moving messages from one queue to another. You would need to do this on your own.

    One way to implement moving the messages from one queue to another is by dequeuing the messages from the source queue (by calling GetMessages), read the contents of the message and then creating a new message in the target queue. This you can do via using Storage Client Library.

    One tool that comes to my mind for moving messages is Cerebrata Azure Management Studio. It has this functionality.

    As at (2018-09-11) version 1.4.1 of the Microsoft Azure Storage Explorer doesn't support moving queue messages.

提交回复
热议问题