Skip to main content

Upgrading Mule Runtime and Connectors

This guide walks you through upgrading your Mule projects within Mule 4, including both runtime version updates and connector upgrades.

Steps

Connect Code Context

Select a repository or upload your Mule project so CurieTech AI has access to your codebase.

Start in Chat

In the chat box, specify what you want to upgrade. For example:

  • "Upgrade the Mule flow from version 4.4 to 4.9."
  • "Upgrade all my connectors to the latest versions."

CurieTech AI will understand the request and may ask clarifying questions about runtime configurations, connectors, or dependencies before proceeding.

Create a Task

Once details are confirmed, ask CurieTech AI to create a task. It will construct the proper upgrade prompt and begin the upgrade process.

Review Upgrade Output

After processing, you'll see the proposed updates, including:

  • Changes to mule-artifact.json for the new runtime version.
  • Updates in pom.xml covering dependencies and connectors.

Provide Feedback or Approve

  • If adjustments are needed, provide feedback directly in chat and CurieTech AI will regenerate.
  • If the upgrade looks good, approve the changes.

Apply and Commit

Once approved, apply the changes and commit the upgraded project to your repository.

Alternative Path (Using "Mule Version Upgrade" tile)

You can also initiate the upgrade through the "Mule Version Upgrade" tile:

  1. Click on the Code tile below the chat.
  2. Select "Mule Version Upgrades"
  3. Provide code context (choose a repo or upload a project).
  4. Optional - provide a description
  5. Provide the current runtime settings that the code is present
    • For Ex (Java 8.0, Maven 3.5, Mule 4.4)
  6. Provide the target runtime settings that needs to be upgraded (Java 17, Maven 3.8, Mule 4.9)
  7. Click on Submit to start the task