Metadata Editor
Several elements in your Mule flow automatically expose metadata about the expected input and output.
However, given that some components don’t expose this metadata, Anypoint Studio features a metadata editor that allows you to define your component’s metadata either manually, or through an example, or a schema.
This metadata is handled by DataSense and exposed during design time on every component of your flows, helping you debug your application and know if the expected data structure differs from what’s truly being sent. It also provides smart autocomplete options.
To use the drag and drop UI of the Transform Message Component, you must define its input and output metadata.
All metadata classes that you defined in the current Mule project are displayed in the Metadata Editor for you to select one if appropriate:
When defining the structure through the editor, you’re implicitly creating a schema for that type. These schemas are stored in your project’s src/main/resources
folder, and you can open these and edit them freely on Anypoint Studio.
After you create a new type, you can associate any new metadata you create with this new type to avoid having to define it again.