I am using Azure service bus topic/subscriptions with sessions. I am setting a hardcoded value for the sessionId as I want to control processing of incoming messages.
So even if there are more than one eligible subscribers which can process this message only one will get the sessionlock and process it. I release the lock by closing the session once it is done processing so that new messages can be picked up by any of the processors. My only concern here is, is there any downside of closing the session after completion of message processing?If I close session, will the processor with closed session be able to open session and process the message at later?
TIA