The content in this documentation is for older versions of WSO2 products. For updated information on Enterprise Integration Patterns, go to the latest Micro Integrator documentation.
Correlation Identifier
This section explains how the Correlation Identifier EIP can be implemented using WSO2 ESB. 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 WSO2 ESB implements the EIP
WSO2 message flow 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.  Â