Java CAPS 5.1.3 Correlation Example 2 - ELS Static Counted
By Michael.Czapski on Nov 25, 2007
This example implements a part of the ELS functionality dealing with linking a number of related messages, a counted correlation pattern, or an aggregator pattern.
Unlike the simple implementation from Example 1, this implementation will correlate a varying number of messages, statically set at design time. Thus the same implementation can be used to correlate 2, 3, 10 or 30 messages, by modifying the value of a single business process attribute. By obtaining the value of the business process attribute, which controls the message count, from the environment or the initial message, one will change the static implementation into a dynamic counted correlation solution.
CorrelationExample_02_StaticCounted.pdf discusses the example and addresses key points in its implementation.
CountedStatic.zip is a Java CAPS 5.1.3 project export that implements the correlation in this example.