Background
I have created this project to explore basic capability of ServiceBus. My project required microservices interaction using message queue and I was comfortable to use storage queue instead of serviceBus, however storage queue have 64k max message size limit and that become a bottleneck for us.
Setup your ServiceBus and change connection string
BasicSender - This project containing two methods
- Send messages to Servicebus.
- Send messages with header to servicebus.
BasicReceiver This is Azure function, listen message form services bus
- Send .net serialize class object as message.
- Send messages using batch.
(Wrong Project name) Setting MaxDeliveryCount of queue. By default value is 10 and we have steup this 3.
BasicReceiverWithRetry (Wrong Project name) Azure function would validate message should deliver only 3 times instead of 10 (default).
DeadLetterQueueReceiver Read message from dead letter queue