Purpose of this example is to demonstrate how Correlation Identifier can be implemented using WSO2 ESB. The idea of this EIP pattern is to ensure that the requester will be aware on for which request the reply is for.
Compatibility of WSO2 ESB
WSO2 message flow is structured in a way that where it will automatically manage the requests sent by the client where in the message flow for each request a unique identification number will be injected into the message context. When the response arrives the message will be uniquely identified through this number which will allow the requestor to distinguish among requests.