Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Getting SessionCannotBeLockedException on retrieving message

$
0
0

While performing receive operation using

var session = await subscriptionClient.AcceptMessageSessionAsync(sessionId);

in Topic/subscription SessionEnabled I am getting following execption "Microsoft.ServiceBus.Messaging.SessionCannotBeLockedException".

"ExceptionMessage": "The requested session 'sessionID' cannot be accepted. It may be locked by another receiver.

How should I handle the above exception?

Thanks in Advance.


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>