Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Service Bus - Session Processor vs Session Receiver Client?

I've been trying to find some guidance on the functional difference between ServiceBusProcessorClient and ServiceBusSessionReceiverAsyncClient.

From Azure SDK samples it seems that ProcessorClient is easier to implement, and it's still asynchronous.

Documentation doesn't seem to cover this.

Am I missing anything?

like image 648
Roman Avatar asked Mar 09 '26 22:03

Roman


1 Answers

To continuously receive messages, one has to build a message pump. The SDK team has provided a default message pump that covers most of the scenarios but not all. For scenarios not covered by the default implementation or when customizations are required, ServiceBusSessionReceiver is a lower-level client that can be used to build the necessary functionality.

like image 67
Sean Feldman Avatar answered Mar 12 '26 17:03

Sean Feldman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!