2. WHAT IS SCRIPT TRANSFORMER?
• A Script transformer lets you use a script component as a transformer. You can configure a script using
name/value pairs, in which case you must provide the key or name for the name/value pair.
4. SCRIPT TRANSFORMER – CONFIGURATION WIZARD
(GENERAL TAB)
• Following are the options on general tab –
• Display Name – The name that is used to be displayed in Mule flow.
• Return Class – The object of this class will be returned after transformation.
• Encoding – Encoding standard to be applied on message data.
• MIME Type – MIME Type of the message data.
• Engine – What script engine to be used.
• Script Text – Use this radio button to directly write script code in text box.
• Script File – Use this radio button to select a script file from file system.
• Script Reference – Use this radio button to refer to a global script configuration.
6. SCRIPT TRANSFORMER – CONFIGURATION WIZARD
(ADVANCED TAB)
• Following are the options on advanced tab –
• Generic properties – This tab is used to add properties to script transformer.
7. SCRIPT TRANSFORMER – CONFIGURATION WIZARD
(NOTES AND META-DATA TABS)
• Notes Tab, is used to add special notes to this transformer.
• Meta-Data Tab, is used to add meta-data to this transformer.