Handling a Pausable Subscription
6.2.2.4 Sending a Notification
One of the most important activities in a publish subscribe system is to actually send notifications. Figure 18 shows the activity of publishing an event. A Notify event message is emitted and sent to some not further specified system entity. Publish Notify Figure 18: Publishing Activity The activity relies upon the interface defined in section 6.2.1.4.11.6.2.2.5 Handling a Notification at a Broker
A broker is capable of receiving incoming notifications and matching them against existing subscriptions. Each notification matching a subscription’s filter criteria needs to be published to endpoint defined for that subscription. The following diagram shows the activities and events involved in handling an incoming notification at a broker. The activities of the publisher and broker run in parallel. 46 Copyright © 2010 Open Geospatial Consortium, Inc. P u b li s h e r :P u b li s h e r B ro k e r :B ro k e r Notify Broker Notify Notify Handle notification Perform filter check Not matching Publish Publish Stop Stop [otherwise] [deliveryToChannel defined] [otherwise] [otherwise] [Notification matches] [deliveryTo defined and subscription not paused] Figure 19: Notification Handling Activity A publisher notifies a broker by emitting a Notify event message which is sent to the broker. As no response which would be a related event is expected by the publisher, its activity terminates after the notification has been sent. When receiving a Notify event message, the broker checks the filter of each subscription it manages against the event. If the event matches, the broker publishes it. In case that a deliveryTo endpoint is defined and the subscription is not paused, the event is published to the deliveryTo endpoint. If the deliveryToChannel is set in the subscription, the event is published to that endpoint. Note that at least one of these delivery endpoints shall be defined for each subscription. When the matching and publication was performed the handling of the notification for a specific subscription stops.6.2.2.6 Registering a New Publisher
A new event source can be registered at an Event Service Broker as new publisher. The interactions involved in creating and managing a registration and publication are shown in the following sequence diagram.Parts
» OWS-7 Event Architecture Engineering Report
» Scope OWS-7 Event Architecture Engineering Report
» Document contributor contact points
» Revision history OWS-7 Event Architecture Engineering Report
» Future work OWS-7 Event Architecture Engineering Report
» Foreword OWS-7 Event Architecture Engineering Report
» Abbreviated terms OWS-7 Event Architecture Engineering Report
» Resource Class ResourceWithLifetime Class
» ResourceManager Interface ResourceTermination Interface
» AdHocEventChannel Class AggregationChannel Class
» EventChannel Class EventChannelRelationship Class
» EventMetadata Class EventingInformation Class
» Endpoint Class EndpointDeliveryMetadata Class
» Filter Class Notification Class
» PausableSubscription Class Producer Package
» Producer Class Publication Class
» Registration Class Broker Package
» Resources Lifecycle Management Behavior Model
» Managing Subscriptions Behavior Model
» Handling a Pausable Subscription
» Demand Based Publishing Behavior Model
» Introduction Event Channels OWS-7 Event Architecture Engineering Report
» Publish Subscribe Requirements OWS-7 Event Architecture Engineering Report
» Introduction Realization of Publish Subscribe
» Requirements Mapping for WS-Notification
» Summary Realization of Publish Subscribe
» Introduction Event Metadata Example
» The Event Service Discovery Model The Event Service Discovery extension package
» Scenario 1: Find a Service providing Sensor Data that supports Comparison Filters
» Step 2: Scenario 2: Find a Service providing Aviation Data in a specified Area
» Sample Event Service objects Discovery challenges:
» Denial of service Security threats and vulnerabilities
» Message replay Security threats and vulnerabilities
» Message modification Security threats and vulnerabilities
» Spoof of identity Security threats and vulnerabilities
» Intermediary network devices Security threats and vulnerabilities
» Trojan horse type of attacks
» Authorization or access control
» Data confidentiality Security measures
» Data integrity Security measures
» Communication security Security measures
» Mapping security measures to threats
» Threat Mitigation in WS- Environment
» Threat Mitigation in RESTful Environment
» Reliability OWS-7 Event Architecture Engineering Report
» Boolean Result for Filter Statement
» Event Wrapper Potential Pitfalls
» Resolve Content Given By Reference
» Reference System Transformation Potential Pitfalls
» Filter Encoding XPath Filter Processing Languages
» Event Pattern Markup Language
» Spatial Filtering via Bounding Box
» Spatial Filtering of Events Using Dynamic Filter Properties
» Discovery of filter functionality
» Specifying events OWS-7 Event Architecture Engineering Report
» Geosynchronization OWS-7 Event Architecture Engineering Report
» Dynamic Sensor Tracking and Notification Aviation
» Introduction OGC service specifications related to the Event Architecture
» Foreign standards and specifications related to the Event Architecture
» SWE Common AIXM Information models
» Introduction Document object model
» Spatially enabled Common Alert Protocol
» Code lists Common Alert Protocol
» Resource references Other features Interoperability
» Geosynchronization Common Alert Protocol
» Filtering CAP messages Common Alert Protocol
» EDXL-DE Common Alert Protocol
» WXXM Resource Requirements Package
» Consumer Requirements Package Publish Subscribe Requirements Package
» Registrar Requirements Package Information models
» Brokered Publish Subscribe Requirements Package Registering Broker Requirements Package
» Aggregation Channel Requirements Package
» Ad Hoc Channel Requirements Package
» Pausable Provider Requirements Package Demand Based Publication Requirements Package
» CSW-ebRIM Extension Package for Event Service Discovery
» Additional Sample Queries for Event Service Discovery
» XML Schema for Event Metadata
Show more