Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

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

Table of Contents

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.

Image Added

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.