Contact Free trial Login

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

Prerequisites

To use this module, you must be familiar with the following concepts:

  • Anypoint Connectors

  • Mule runtime engine (Mule)

  • Elements in a Mule flow

  • Global elements

  • Understand how to create a Mule app using Design Center or Anypoint Studio

Before creating an app, you must have access to Anypoint Platform.

Common Use Cases For the Module

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.

Audience

For a major or minor release, see Upgrade and Migrate.

Next Step

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.