Java Reference
In-Depth Information
messages that belong together within each instance. Figure 10-1 shows what can go wrong in
the absence of correlation sets.
Figure10-1.Mismatched messages in a fulfillment process without correlations
In this case, multiple customer orders are received, creating different process instances. The
supplier partner, without a correlation set, cannot find the already running process instance
that the fulfillment notices are intended for. Customers may have multiple orders submitted at
once.
Here are the basic steps for correlating your process:
1. Create message properties and aliases for them.
2. Create a correlation set.
3. Find the activity that you want to initiate the conversation.
4. Correlate the messages to their instances.
We'll look at each of these steps in order now.
Creating message properties and aliases
Properties must be globally unique names that are bound to a simple XML schema type. You
define properties using the property element. Here's a sketch of how they're defined:
<wsdl:definitions...>
...
<wsdl:message name="sendPurchaseResponse">
Search WWH ::




Custom Search