Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Mule flatfile-json
1. Mule ESB – DataWeave - CopyBook
Flat file To JSON Conversion using Copybook Schema
2. Steps :
1) First configure the ‘HTTP’ connector as a source in Anypoint Studio Mule.
2) Drag & Drop the ‘Transform Message’ from the Mule palette window for
conversion.
3) In the Transform Message as input metadata provide copybook schema at the
same time as output metadata provide JSON Data. Because of Flatfile – JSON
conversion using copybook schema.
4) Drag & Drop ‘Byte Array to String’ Transformer from Mule Palette window for
converting result into string.
3. 5) Finally use the Logger for logging the result message.
Note:
Find the Sample Copybook & JSON Data in the next slides.