{ //process message });">

Presentation is loading. Please wait.

Presentation is loading. Please wait.

QueueClient queueClient = QueueClient.Create("myQ"); queueClient.OnMessage((message) => { //process message });

Similar presentations


Presentation on theme: "QueueClient queueClient = QueueClient.Create("myQ"); queueClient.OnMessage((message) => { //process message });"— Presentation transcript:

1

2

3

4 QueueClient queueClient = QueueClient.Create("myQ"); queueClient.OnMessage((message) => { //process message });

5 Demo: OnMessage usage

6 QueueClient queueClient = QueueClient.Create("myQ"); var message = queueClient.Peek(); // does not lock the message var message = queueClient.Peek(fromSequenceNumber: 4); //specific starting point var messages = queueClient.PeekBatch(messageCount: 10); // supports batching

7 Demo: Message Browse

8 QueueDescription qd = namespaceManager.GetQueue("myQ"); qd.Status = EntityStatus.Disabled; //all operations blocked qd.Status = EntityStatus.SendDisabled; //can continue to de-queue qd.Status = EntityStatus.ReceiveDisabled; //can continue to en-queue qd.Status = EntityStatus.Active; //all operations allowed namespaceManager.UpdateQueue(qd);

9 TopicDescription topicDescription = new TopicDescription("myTopic"); topicDescription.AutoDeleteOnIdle = TimeSpan.FromMinutes(30); namespaceManager.CreateTopic(topicDescription);

10 QueueClient queueClient = QueueClient.Create("myQ"); await queueClient.SendAsync(currentOrder);

11

12 Authentication and Security

13

14

15 Demo: SAS Auth

16 Azure Portal updates

17

18 Demo: Service Bus portal

19

20


Download ppt "QueueClient queueClient = QueueClient.Create("myQ"); queueClient.OnMessage((message) => { //process message });"

Similar presentations


Ads by Google