Scripting Module 2.0 - Mule 4
Support Category: Select
The Scripting Module executes custom logic written in a scripting language. In some cases, you might need to create custom code to perform all or part of a complex task, or to reuse modules that you have already written.
Since version 2.0 you must provide a compliant
jsr-223 scripting language engine.
For information about compatibility and fixed issues, see Scripting Module Release Notes
To use this module, you must be familiar with the following concepts:
Mule runtime engine (Mule)
Elements in a Mule flow
Understand how to create a Mule app using Design Center or Anypoint Studio
Before creating an app, you must have access to Anypoint Platform.
The Scripting Module performs logic in a supported language, which enables you to access variables and the registry, log information via the Mule logger, read payloads, and so on.
For example use cases, see Examples.
After you complete the prerequisites and experiment with templates and examples, you are ready to create an app and configure the connector using Anypoint Studio.