This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, go to https://wso2.com/documentation/.

Correlation Identifier

This section explains how the Correlation Identifier EIP can be implemented using the ESB profile of WSO2 EI. The following topics are covered:

Introduction to Correlation Identifier

The Correlation Identifier EIP facilitates a unique identifier that indicates which request message a given reply is for. It enables a requester that has received a reply to know which request the reply is for. For more information, refer to http://www.eaipatterns.com/CorrelationIdentifier.html.

Figure 1: Correlation Identifier EIP

How the ESB profile implements the EIP

Message flow of the ESB profile automatically manages requests sent by a client. It injects a unique identification number into the message context of each request. When the response arrives, the message will be uniquely identified using this number, allowing the requester to distinguish between requests.