Tuesday, 8 January 2019

Camel: Data transformations


While integrating one application with another, you should handle many things. For example, Application 1 can only under stands xml, where as application 2 understand only csv format. Then as a developer, you should be ble to write data transformation application, that sits in bettwen A and B applications.

When ‘A’ send xml message, your data transformation application converts it to csv format and send it to application ‘B’.

When ‘B’ send csv message, your data transformation application converts it to xml format and send it to application ‘C’.



Data transformation is divided into two.
Data Type transformation
Transforming the data type. For example, java.lang.String can be mapped to javx.jms.TextMessage

Data Body Transformation
Transforming the message body (content). For example, xml can be transformed to csv, json etc.,

In my next posts, I am going to explain below things.
a.   Data Transformation using message translators

Previous                                                 Next                                                 Home<

No comments:

Post a Comment