Exciting Updates in the Latest Anypoint Code Builder Release June 2024

John Kenneth Lorca
Another Integration Blog
3 min readJul 3, 2024
Anypoint Extension Pack v1.2.1

The June 2024 release of Anypoint Code Builder brings a host of new features and improvements for both the cloud and desktop IDEs, designed to enhance your API and integration development experience.

Key Highlights:

  • AsyncAPI Beta: Support for AsyncAPI 2.6 and 2.0 specifications is now available. Enable these features by accepting the Beta terms in Anypoint Platform.
  • DataWeave Expression Builder: Simplifies configuring integrations with a user-friendly UI for selecting and previewing DataWeave expressions.
  • Component Configuration Enhancements: New configuration options, including input/output tabs and support for additional data types like file selectors and arrays.
  • Support for Multiple Mule Runtime Versions: Now compatible with Mule runtime versions 4.4, 4.6, and 4.7, supporting both Java 11 and Java 17.
  • Custom Java Classes and Code: Enhanced Java module support, including automatic dependency management and new directories for custom Java work.
  • MUnit Support: Limited support for MUnit testing, allowing you to run, modify, and create tests directly in Anypoint Code Builder.
  • API Governance for REST APIs: Improved governance features, including conformance checks and ruleset management for your projects.

New Features:

AsyncAPI Beta

Anypoint Code Builder supports AsyncAPI specifications, allowing for the design and implementation of event-driven architectures. The process involves creating AsyncAPI projects, configuring message brokers, defining channels and messages, and validating the specifications. The IDE provides tools for importing and editing AsyncAPI specifications, as well as scaffolding code to streamline the development process.

Supported message brokers:

Anypoint Code Builder Async API Specification
Async API Flow in Anypoint Code Builder

DataWeave Expression Builder

The DataWeave Expression Builder in Anypoint Code Builder is a powerful tool for configuring DataWeave expressions directly within the IDE. It provides:

  • Data Selection: Easily choose values like payloads, attributes, or variables.
  • Function Integration: Access and integrate DataWeave functions with detailed documentation and examples.
  • Expression Preview: Run and preview expressions on sample data for real-time validation.
  • Autocomplete: Enhanced autocomplete for DataWeave functions and values, streamlining the expression-building process.

For more details, visit the DataWeave Expression Builder documentation.

Searchable Functions on Dataweave Expressions

MUnit Support

MuleSoft has introduced MUnit support for Anypoint Code Builder, enhancing its integration testing capabilities. Developers can now seamlessly import and run their existing MUnit tests within Anypoint Code Builder. The integration leverages Code Builder’s intuitive interface, allowing for easy debugging and test execution. This support simplifies test maintenance and boosts productivity by enabling developers to spend more time building integrations rather than testing. Additionally, the new interface provides clear insights into test results, further streamlining the development process.

  • Test Creation and Modification: Easily create and modify MUnit tests within Anypoint Code Builder.
  • Test Execution: Run MUnit tests directly from the IDE.
  • Debugging: Utilize debugging tools to troubleshoot test issues.
  • Integration: Seamlessly integrate existing MUnit tests into projects.
  • Test Insights: Gain clear insights into test results and performance.
  • Integration: Seamlessly integrate existing MUnit tests into projects.
  • Test Insights: Gain clear insights into test results and performance.

For more details, visit the MuleSoft blog post.

Anypoint Code Builder MUnit Support

Upgrade Your Development Environment

For desktop users, ensure you have the latest Anypoint Extension Pack version 1.2.1 installed. Cloud IDE users are automatically updated to this version.

Explore the Full Release Notes

For a comprehensive list of updates, known issues, and compatibility details, visit the Anypoint Code Builder release notes.

Stay ahead in your API and integration development with these powerful new tools and enhancements in Anypoint Code Builder!

--

--