2. MULE SCRIPT COMPONENT
• Defines a script component to use as a transformer. The Script
transformer lets you select the particular scripting engine from
a pull-down list. The predefined script transformers Groovy,
JavaScript, Python, and Ruby have the scripting engines already
set.
4. MULE SCRIPT COMPONENT –
CONFIGURATION WIZARD (GENERAL TAB)
• Following are components in General tab –
• Display Name – Display name of the Mule Javascript component.
• Engine – The script type that will be executed in this component.
• Script Text – Use this radio button to enter script text directly
• Script File – Use this radio button to use script from a file.
• Script Reference – Use this radio button to give reference to script
location.
6. MULE SCRIPT COMPONENT –
CONFIGURATION WIZARD (ADVANCED TAB)
• Following are the options on advanced tab –
• Interceptors – Various interceptors can be defined according to various
events.
• Interceptor Stack – Name of the interceptor stack to be used.
• Script properties – Various script properties can be added here.
7. MULE SCRIPT COMPONENT –
CONFIGURATION WIZARD (NOTES AND
META-DATA TABS)
• Notes tab - This tab is used to add special notes for the Script
component.
• Metadata tab – This tab is used to add any metadata entry for
Script component.