I am trying to achieve the following flow using Azure Message Queue as illustrated in the following diagram :
So, the client initially creates and adds a message in the queue with initialVisibiltiyTimeout of 5 minutes.
_queueResolver.GetQueue("my-queue")
.AddMessage( new CloudQueueMessage(json), initialVisibilityDelay: TimeSpan.FromMinutes(5));
The challenges that I encountered so far are related to the ability to extend the initialVisibilityDelay period for the initial message that has been sent. I am not sure how can I retrive the message from the queue. What are the best practices in this cases ? Do I need to persist in other store the id's of the messages that are on the Queue ?