My setup:
Lock duration
= 1 minute
Session id
= Next Available
Interval
= 15
, Frequency
= Second
Complete the message in a queue
, otherwise I Dead-letter the message in a queue
My results:
Lock duration
(in my case, 1 minute) before picking up the next message.Session id
to be a specific session id, it does not wait, but processes messages immediatelyMy question:
Session id
= Next Available
. Is this possible and is there a setting I'm missing to tell the Azure Logic App to not wait the entire lock period?Do your messages have the same SessionId?
In that case I think your Logic App is holding the session lock, so you need to use the "Close a session in a queue" task.
If you have multiple messages with same SessionId, it seems to hold the session lock for one minute before it takes the next message with the same SessionId based on my simple test. Closing the session resulted in immediate processing of the next message in same session.
I have a similar case in production use where I have to wait for a while and pull all messages with the same SessionId together, but it runs nicely concurrent Logic Apps if there are multiple sessions going on, and that was the same in my test setup.