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

When to use OnMessageAync()?

$
0
0

Hello,

I'd like some advice about when it would be appropriate to use OnMessageAsync() instead of OnMessage() with QueueClient and SubscriptionClient. Since OnMessage() can receive messages on multiple threads, what value does OnMessageAsync() have?

Also, can anyone point to an example of using OnMessageAsync()? There's no example in the MSDN documentation nor in any Azure samples I've found.

Thanks!


Viewing all articles
Browse latest Browse all 1916

Trending Articles



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