Using BPEL correlation sets

For situations where WS-Addressing isn't appropriate or available, BPEL provides the concept of correlation sets. Essentially, correlation sets allow you to use one or more fields present in the body of all correlated messages (for example, orderId) to act as a pseudo conversation ID (equivalent to the <wsa:MessageID> and <wsa:RelatesTo> properties in WS-Addressing).

A correlation set consists of one more properties; these properties are then mapped using property aliases to the corresponding fields in each of the messages that are being exchanged. The combined value of these properties at runtime should result in a unique value (at least unique across all instances of the same process), which allows the BPEL engine ...

Get Oracle SOA Suite 11g R1 Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.