![]() In above example i have added some messages at the time of queue creation,We can store any number of messages in each queue each message size can be up to 64 KB. String _result = $"Create Queue '' SendMessage executed" In following method, we create a queue using QueueClient class object and with “SendMessage” send message to queue client.Īsync Task CreateMyQueue(string queueName) when application need feature like having message without making a pull call to queue.Īssuming, you are already familiar with working with azure storage like blob, file share, cloud table etc, where we create storage account instance based on storage connection string.when we need FIFO (first in first out) in our queues.when in application we need automatic duplicate detection.when storage will not be more than 80 GB.ServiceBus Queue: Service queue is used for transactional use, think of developing microservice scenario.when we need to store any type of application log message in this queue storage. ![]() Each message can contain message size up to 64 kb.We can store large number of queues in azure storage (over 80 gigabytes).Storage Queue: This Queue class used for storing large number of message, which does not need any automatic processing.Two queue class are made for different purpose, here are few points can be taken into consideration! Use of Storage Queue and ServiceBus Queue
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |