Return to Home Page
Overview
    History
    Acknowledgements
    Podcasts
    Notification Form
    Feedback Form
    Press Release #1
    Press Release #2
    Press Release #3

Master SOA Design
Pattern Catalog
    Master Pattern List (alphabetical)
    Master Pattern List (by category)
    Master Pattern List with
Page Numbers (PDF)
    Master Pattern List (Text)
    Pattern Notation
    Pattern Profiles
    Symbol Legend
    Pattern Contribution Form

SOA Candidate Patterns
    SOA Patterns Review Committee
    Candidate Patterns Overview
    Candidate Patterns List
    Candidate Pattern Contribution Form
    Candidate Pattern
Feedback Form
    SOA Pattern Template

Design Pattern Basics
    What's a Design Pattern?
    What's a Design Pattern Language?
    What's a Compound Pattern?

Supplemental
    SOA Patterns and Application Technologies
    SOA Design Patterns Historical Influences
    SOA Design Patterns and Design Principles
    SOA Design Patterns and Design Granularity
    Legal

Resources
    Design Patterns Publications
    Reference Posters
    SOAPrinciples.com
    WhatIsSOA.com
    SOA Visio Stencil


Event-Driven Messaging

(Little, Rischbeck, Simon)



Home > Service Messaging Patterns > Event Driven Messaging

How can service consumers be automatically notified of
runtime service events?
 

Problem

Events that occur within the functional boundary encapsulated by a service may be of relevance to service consumers, but without resorting to inefficient polling-based interaction, the consumer has no way of learning about these events.

Solution

The consumer establishes itself as a subscriber of the service. The service, in turn, automatically issues notifications of relevant events to this and any of its subscribers.

Application

A messaging framework is implemented capable of supporting the publish-and-subscribe MEP and associated complex event processing and tracking.

Impacts

Event-driven message exchanges cannot easily be incorporated as part of Atomic Service Transaction, and publisher/ subscriber availability issues can arise.

Principles

Standardized Service Contract, Service Loose Coupling, Service Autonomy

Architecture

Inventory, Composition
 




Service A requests that it be set up as a subscriber to the event it is interested in by interacting with an event manager. Once the event occurs, Service B forwards the details to the event manager which, in turn, notifies Service A (and all other subscribers) via a one-way, asynchronous data transfer. Note that in this case, Service A also receives the event information earlier because the event details can be transmitted as soon as they're available.
Audio Podcast
This pattern is discussed as part of the audio podcast:

The ESB and Related Messaging Patterns
 

Related Patterns in This Catalog

Asynchronous Queuing (Little, Rischbeck, Simon), Atomic Service Transaction (Erl), File Gateway (Roy), Intermediate Routing (Little, Rischbeck, Simon), Reliable Messaging (Little, Rischbeck, Simon), Service Agent (Erl), Service Callback (Karmarkar), Service Instance Routing (Karmarkar)


Related Patterns in Other Catalogs

Event Message (Hohpe, Woolfe), Publisher-Subscriber (Buschmann, Henney, Schmidt, Meunier, Rohnert, Sommerland, Stal), Publish-Subscribe Channel (Hohpe, Woolfe)


Related Service-Oriented Computing Goals

Increased Vendor Diversification Options, Reduced IT Burden

SOA Design Patterns This page contains excerpts from:

SOA Design Patterns by Thomas Erl

Foreword by Grady Booch

With contributions from David Chappell, Jason Hogg, Anish Karmarkar, Mark Little, David Orchard, Satadru Roy,
Thomas Rischbeck, Arnaud Simon, Clemens Utschig, Dennis Wisnosky, and others.

(ISBN: 0136135161, Hardcover, Full-Color, 400+ Illustrations, 865 pages)

For more information about this book, visit
www.soabooks.com.
The Prentice Hall Service-Oriented Computing Series from Thomas Erl
Home    SOA Books    SOA Magazine    What is SOA?    SOA Principles    SOASchool.com    SOA Glossary Copyright © 2007-2009
SOA Systems Inc.