1 / 5

Windows Azure Service Bus Topics / Subscriptions

Windows Azure Service Bus Topics / Subscriptions. Olav Tollefsen Microsoft Norge AS Email: olavt@microsoft.com Twitter: olavtoll. R. Topics. R. S. R. Topic. Sub. Sub. Sub. R. R. Message Distribution

keene
Télécharger la présentation

Windows Azure Service Bus Topics / Subscriptions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Windows Azure Service Bus Topics / Subscriptions Olav Tollefsen Microsoft Norge AS Email: olavt@microsoft.com Twitter: olavtoll

  2. R Topics R S R Topic Sub Sub Sub R R Message Distribution Each receiver gets its own copy of each message. Subscriptions are independent. Allows for many independent ‘taps’ into a message stream. Subscriber can filter down by interest. Constrained Message Distribution (Partitioning) Receiver get mutually exclusive slices of the message stream by creating appropriate filter expressions.

  3. Messaging API Hello World! • varnsm = NamespaceManager.Create(); • nsm.CreateQueue("newQueue"); varclient = QueueClient.Create("newQueue"); • client.Send(new BrokeredMessage { Properties = {{ "Greeting", "Hello World!"}}}); • varm = client.Receive(); • Console.WriteLine(m.Properties["Greeting"]); 1 2 3 <appSettings> <addkey="Microsoft.ServiceBus.ConnectionString" value="Endpoint=sb://[your namespace].servicebus.windows.net; SharedSecretIssuer=owner;SharedSecretValue=[your secret]" /> </appSettings>

  4. Hands-On LAB Step 8

More Related