1 / 31

Get On The Bus

Get On The Bus. Chris Klug – Code Ninja chris@activesolution.se | @ ZeroKoll http://chris.59north.com/. Who am I?. Assumptions. What is the Windows Azure Service Bus?. 2 features and a kicker. Relayed Messaging 101. Client. Service. Service Bus. Demo.

jalen
Download Presentation

Get On The Bus

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. Get On The Bus Chris Klug – Code Ninja chris@activesolution.se | @ZeroKoll http://chris.59north.com/

  2. Who am I?

  3. Assumptions

  4. What is the Windows Azure Service Bus? 2 features and a kicker

  5. Relayed Messaging 101

  6. Client Service Service Bus

  7. Demo Creating a relayed service

  8. Discovery ...built into the Service Bus...

  9. Demo Making a service discoverable

  10. LoadbalancingRelayed Calls ...just add a second service...or third...or...

  11. Demo Loadbalancing a relayed service

  12. HTTP API ...everyone’sfavorite API...

  13. Demo Making the IsItFridayHTTP-based

  14. Brokered Messaging 101

  15. Queues & Topics Service Bus Client Service

  16. 2 Main Features Queues | Topics & Subscriptions

  17. Service Bus Queues • 256kb Payload limit • 1-5Gb storage limit • Long-polling in client • Two retrieval models • PeekLock, ReceiveAndDelete • Supports deadlettering

  18. Queues – Message Retrieval • ReceiveAndDelete • Retrieves and Deletes message in one • PeekLock • Retrieves and locks message • Complete(), Abandon(), Defer() or Deadletter()

  19. Demo Using Service Bus Queues

  20. Topics & Subscriptions Subscription Subscription Topic Service Bus Service Bus Service Bus Service Client Client Client Client

  21. Topics & Subscriptions • Create a Topic • Publisher sends messages to Topic • Service Bus forwards messages toSubscriptions • Subscribersretrieve and handle messages from Subscriptions

  22. Topics & Subscriptions – Cont. • Builds on Service Bus Queues • Relies on BrokeredMessage • Supports same features • Deadlettering, retrieval mode etc per Subscription

  23. Demo Using Service Bus Topics

  24. Subscription Filters • Filters Topic messages based on SQL statement • Declared at Subscription creation time

  25. Demo Adding a Subscription Filter

  26. Deadlettering • Poison messages • MaxDeliveryCount • EnableDeadLetteringOnMessageExpiration • BrokeredMessage.TimeToLive • <Target>.DefaultMessageTimeToLive • Deadletter • MyQueue/$DeadLetterQueue • <Target>Client.FormatDeadLetterPath() • Queue must be emptied!!!

  27. Demo Usingdeadlettering

  28. Autoforwarding Supplier=‘MrZog’ Supplier=‘MrZog’ Supplier=‘MrZog’ Region=‘Europe’ Region=‘Asia’ Region=‘Usa’ OrdersUsa MrZog MrZog MrZog OrdersAsia Topic Queue Subscription OrdersEurope Client Usa MrZog Asia Orders Europe

  29. Demo Usingautoforwarding

  30. Service Bus NotificationHubs

  31. Thank you! Any Questions? Chris Klug chris@activesolution.se | @ZeroKoll http://chris.59north.com/

More Related