Contact Us 1-800-596-4880

Scripting Module 2.1 - Mule 4

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. Starting with Scripting module version 2.0, you must provide a compliant jsr-223 scripting language engine.

Before You Begin

To use this module, you must be familiar with:

  • Anypoint Connectors

  • Mule runtime engine (Mule)

  • Elements in a Mule flow

  • Global elements

  • Creating a Mule app using Anypoint Studio

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

Common Use Cases for the Module

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 examples, see Examples.

Audience

For a major or minor release, see Upgrading and Migrating.

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.

View on GitHub