|
Problem(Abstract) |
What are correlation methods? How do they relate to
Receive Event activities? |
|
|
|
Resolving the
problem |
Correlation methods are used in business processes, which
have Receive Event activities. The correlation methods are used to set the
unique identifier used by the Business Process Container to direct
incoming event messages to the correct business process instance. In most
cases, the unique identifier is included with the incoming message and can
be parsed from message and set.
A correlation method exists for the Input activity and should be used to
parse a part from the input message and then used when the business
process is started to start a unique instance. Each Event activity also
has a correlation method which can parse a part from the event message and
be used to send the event message to the correct instance of a business
process.
Without the correlation methods, incoming event messages could not be
directed to the correct instance. The parts that contain the unique
identifying value may have different named parts. You do not have to use
the same part in the input and event messages to hold the unique
identifying value. By design, the unique value is passed in the messages
as it should be a value that is known or available to the client. If the
unique value was generated by the Business Process Container, there would
be extra requirements for returning the value to the client in an
acceptable format. |
|
|
|
|
Cross Reference information |
Segment |
Product |
Component |
Platform |
Version |
Edition |
Business Integration |
WebSphere Studio Application Developer Integration Edition |
Process Choreographer |
|
5.0 |
|
|
|
|