How can services be designed to process activity-specific data at
runtime?
Problem
Because messaging does not rely on a persistent connection
between service and consumer, it is challenging for a service to
gain access to the state data associated with an overall runtime
activity.
Solution
Message contents can be supplemented with activity-specific
metadata that can be interpreted and processed separately at
runtime.
Application
This pattern requires a messaging framework that supports
message headers or properties.
Impacts
The interpretation and processing of messaging metadata adds
to runtime performance overhead and increases service activity
design complexity.
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, visitwww.soabooks.com.
This pattern is also discussed in the following title:
Web Service Contract Design and Versioning for SOA
by Thomas Erl, Anish Karmarkar, Priscilla Walmsley, Hugo Haas, Umit Yalcinalp, Canyang Kevin Liu, David Orchard, Andre Tost, James Pasley
Foreword by David Chappell
(ISBN: 013613517X, Hardcover, 826 pages)
For more information about this book, visitwww.soabooks.com.