Hi @Fareeha Sattar Shaikh Greetings! Welcome to Microsoft Q&A forum. Thank you for posting this question here.
The Azure Logic App Service App Connector has a method Get messages from a queue which processes messages in batches and can be iterated over in the Logic app. The action item has a parameter Maximum message count
which can be set from the Logic app designer.
The default value for this parameter is 20. If you set a trigger to run the Logic App once a day, the app will process the messages in the queue based on the limit set to this parameter, on FIFO
approach, and leave the rest in the queue.
And how long does that take?
If you are just reading out the messages, this should not take long. The entire logic app workflow process time depends on the different actions configured in the workflow.
how many messages can sit in azure service bus a in one time waiting for logic app to process them
This depends on couple of factors - Max Size of the Queue and Message time to live. When the Max size of the queue is reached, it will no longer process new messages. The default time to live for a message is 14 days since the time they get added in the queue. Once a message is past this time, it might get deleted from the queue and can no longer be retrieved. Please refer the documentation Azure Service Bus - Message expiration (Time to Live) for more details on this.
Hope this answers your questions! Please let me know if you need any additional details.
If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.