1 / 12

Notification Broker

Notification Broker. A project of the course Large Scale Distributed Computing. LAYSI Infrastructure. SLA Manager. Our a ssignment. Implement the Notification Broker using the p ublish / subscribe pattern (WS- Notifications , Queues, Event Management , etc ) Predefined topics

diata
Download Presentation

Notification Broker

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. Notification Broker A projectofthecourse Large Scale Distributed Computing

  2. LAYSI Infrastructure

  3. SLA Manager

  4. Ourassignment • ImplementtheNotification Broker usingthepublish/subscribepattern (WS-Notifications, Queues, Event Management, etc) • Predefinedtopics • Organizationoftopics (hierarchical, etc.) • First prototype andevaluation

  5. Publish/Subscribe • Messaging pattern • Sender(Publisher) • Receiver(Subscriber) • Decoupling • Message filtering • Topic-based • Content-based

  6. WS-Notification & WS-Topics • The WS-Notification specifications allow the use of Topics to as a way to organize and categorize a set of Notifications • Publisher may associate a notification with one or more Topics • Subscriber may associate a notification with one or more Topics using a Topic filter expression

  7. OASIS WS-Topics • Topic Namespace • Topic Tree • Topic Set • Notification Producer supports Topics from Topic Namespaces by adding them to its Topic Set

  8. WS-Topics Namespace <wstop:Topicname="t1”> <wstop:Topic name="t3"/> </wstop:Topic> <wstop:Topic name="t4"> <wstop:Topic name="t5"/> <wstop:Topic name="t6"/> </wstop:Topic>

  9. Topic Expressions • Dialects • Simple Topic Expression Dialect • Concrete Topic Expression Dialect • Full Topic Expression Dialect • Expression

  10. Topic Expression dialectexamples • Simple dialect • „tns:t1“ forthetopict1 in thetnsnamespace. • Concretedialect • „tns1:t1/tns2:t3“ forthetopict3 in thenamespacetns2, childofthetopict1 in thenamespacetns1 • Fulldialect • “tns:t1/*” for all of the child topics of topic t1 in the namespace tns

  11. WSNotifier API • WSNotifier.publish(String experssion, String dialect, Object message) • WSNotifier.publish("t1/t3",WSNotifier.TOPIC_EXPR_DIALECT_CONCRETE,message); • WSNotifier.subscribe(String expression, String dialect, Subscriber subscriber) • WSNotifier.subscribe("t1",TopicsConstants.TOPIC_EXPR_DIALECT_SIMPLE, new Subscriber());

  12. Questions and/orothercontribtions

More Related