How to Run Groovy Script in Mule ESB 4 | Mule4 | MuleSoft

    8
    1



    What is groovy scripting language?
    Groovy is an object oriented language which is based on Java platform
    Groovy 1.0 was released in January 2, 2007
    Groovy 2.4 as the current major release
    Java Specification Requests
    Any Script support JSR – 223, can be integrated with Mule

    Why we need it ?
    Custom logic written in a scripting language
    We have used Groovy Script Feature, performed complex task

    How we can integrate?
    Maven Dependencies
    1. Scripting Module
    2. Execution engine – Note – only Oracle Nashorn engine by Default
    for Javascript is inbuilt

    How to add dependency –
    Special consideration on Shared Libraries
    Configure shared libraries
    when you need to make an application’s dependency
    visible to your application’s connectors.

    Engine names inconsistency?
    In UI – engine name – Groovy Scripting Engine
    In XML – engine name – Groovy

    source

    Previous articleJenkins: O mĆ­nimo que vocĆŖ precisa saber
    Next article1- Aws Training Videos In Tamil | Aws Tamil | Aws Training in Tamil | Complete Free Training