Welcome to Simple Programming
Spring Integration with Spring Boot Transformer Example
Say you have an application that accepts and processes data in json format.
and you are connected to some external system tat can process only xml
now you have to go through the pain of converting your java object into xml before sending the request to that external system
well spring integration gives u a transformer for that
Transformer – converts the payload or structure to another form (like for example XML payload to JSON)
There are multiple built in transformers – xml to object (unmarshallers) / object to xml (marshallers), Object to string, File to string, Object serializer/deserialier, Object to map, Object to Json