to python, ruby or java component. The Groovy component provides developers with the facilities to integrate custom scripts into a flow using the Groovy scripting engine. As an example, you can write a custom script using Groovy language for an application, save it in a separate file and then configure the Groovy component to reference the file. Or, after placing the Groovy component on the Studio canvas you can type in the script through the Groovy Pattern Properties pane.
name for groovy component in your mule application. Script Text Type the script the component will load directly into this space. Script File Enter the location of the script to be loaded by the component. The file can reside on the classpath or the local file system.
interceptors and property for Groovy component. Interceptors enable the developer to provide additional services to the component such as the ability to log transactions and the ability to log the time for each transaction. Configure these parameters to define attribute keys and their associated values. This enables a component to quickly look up a value associated with a key.