I have some scenario for message transformation in ESB. i want to know which message transformation mediator (XSLT, Enrich, Payload Factory) is a suitable and common for each of these scenario?
1- Changing the data type of one or more field of a message
2- Deleting one or more field of a message
3- Adding one or more new field to a message
4- Changing the name of one or more field of a message
5- Changing the order of a message's fields
Thanks in advance.
The XSLT mediator provides you a lot of flexibility on transforming messages over the other mediators. So, you can certainly do this using the XSLT mediator. As I see, you can achieve the scenarios 2-5 using payload mediator as well quite easily. I'm not sure what you meant in the first scenario though.