The purpose of this example is to demonstrate how Format Indicator EIP could be implemented using WSO2 ESB. The purpose of this EIP is to allow the communication channels to know the format of data which is transmitted into the ESB. Once the format is identified the receiver will know how to process the message based on its format.
How WSO2 ESB Implements the EIP
ESB Architecture best describes on how a message will be tackled when it arrives. When a message arrives before its sent through the pipes for mediation it will be transformed to a SOAP envelop using message builders. This way the message will be of a standard format for the message mediation engine to do the processing. Once the response is ready to be sent back to the receiver it will be changed back to its original format through message formatters.