Professional Documents
Culture Documents
Chapter 19
Chapter 19
Chapter 19
Chapter 19
Process Integration
Lachlan Aldred
Y
real world
R
a university for the © 2009, www.yawlfoundation.org
Overview Y
• Introduction
real
R
a university for the
© 2009, www.yawlfoundation.org
world Y A W L 2
Introduction Y
real
R
a university for the
© 2009, www.yawlfoundation.org
world Y A W L 3
Introduction … Y
real
R
a university for the
© 2009, www.yawlfoundation.org
world Y A W L 4
Process Integration as a Field of Endeavour Y
• Expressive
– Can’t step outside of the Web service paradigm.
– Can’t handle correlated event processing.
– Models cannot discriminate between tightly coupled and
loosely coupled middleware (middleware is hidden in the
WSDL binding).
• Conceptualisation
– No publish-subscribe construct.
– Over the wire message format exposed to process layer.
real
R
a university for the
© 2009, www.yawlfoundation.org
world Y A W L 6
Why do we Care …? Y
• BPEL is…
• Suitability
– Difficult to model batch message processing.
– Difficult to model message filtering.
• Understandable
– No graphical representation.
– One sided: can’t model two integrated processes together.
• Precise
– Rules of BPEL written in English : ambiguity, interpretation.
real
R
a university for the
© 2009, www.yawlfoundation.org
world Y A W L 7
Process Integration is not Trivial Y
real
R
a university for the
© 2009, www.yawlfoundation.org
world Y A W L 8
Process Integration is not Trivial … Y
• Batch Messaging
– handle/create large numbers of messages.
– Avoid clumsy loops and lists
• Conversations
– Avoid clumsy correlation IDs.
– Correlation ID variables
– Technology agnostic
– Nested conversations
• Channel passing
– Processes learn of new message source/sinks through
message contents.
– Technology agnostic
real
R
a university for the
© 2009, www.yawlfoundation.org
world Y A W L 9
Conceptualizing PI Y
– Conceptualization principle:
• Only need to express relevant aspects.
• Avoid needing to express every low-level detail (e.g. access
credentials, message formats).
real
R
a university for the
© 2009, www.yawlfoundation.org
world Y A W L 10
Conceptualizing PI … Y
real
R
a university for the
© 2009, www.yawlfoundation.org
world Y A W L 11
Why Patterns? Y
real
R
a university for the
© 2009, www.yawlfoundation.org
world Y A W L 12
Pattern Categories Y
• Patterns of Coupling
– Dimension of Threading, Time, and Space
• Batch Patterns
– Multiple message sends/receives, filtering.
• Bi-directional Interactions
– Various patterns for receiving feedback – within the interaction.
• Composed Interactions
– Patterns achieving state-aware conversations, across many
interactions.
• Event-based Process Patterns
– Patterns for handling unsolicited messages in-process
real
R
a university for the
© 2009, www.yawlfoundation.org
world Y A W L 13
Pattern Categories … Y
• Transformations
– Patterns that transform messages and message data.
• Process Discovery
– Patterns that dynamically change during runtime to perform
new actions.
real
R
a university for the
© 2009, www.yawlfoundation.org
world Y A W L 14
Coupling Pattern: Non-blocking receive Y
real
R
a university for the
© 2009, www.yawlfoundation.org
world Y A W L 15
Coupling Pattern: Time Decoupled Y
real
R
a university for the
© 2009, www.yawlfoundation.org
world Y A W L 16
Composed Interaction: Property-based Y
Conversation
• Modelled by expressing functions over messaging tasks
• You only need to model the function logic and identify
the tasks involved.
• The process environment does the matching.
• When a match is found the message is directed to the
right process instance.
real
R
a university for the
© 2009, www.yawlfoundation.org
world Y A W L 17
Conclusions Y
real
R
a university for the
© 2009, www.yawlfoundation.org
world Y A W L 18