I m constructiong a POC. I am trying to access facebook's graph api using wso2 esb. But it seems that i m not getting the complete json data. So i decided to use Message Relays as mentioned here But while searching for an example of how to use it i came across 2 terms namely : Message Builders & Formatters. Can any one explain me the difference between these two. Also I was unable to find a working example with sufficient explanation to use Message Relays.
Asked
Active
Viewed 1,705 times
1 Answers
3
Message Builder : A concepts that comes from AXis2. When a message comes through a given transport(HTTP) to a wso2 esb we need to build a SOAP message out of that (eg. convert JSON to SOAP/XML) based on the message's content type.
Message Formatter : When a message goes out from ESB, again based on the output content type, the message should be converted to the required format. (eg: SOAP to JSON)
Binary Relay : Please refer this post.

Priyantha
- 4,839
- 6
- 26
- 46

Kasun Indrasiri
- 953
- 8
- 19