Skip to main content
Sebastian Loh ha fatto una domanda in * MuleSoft *

Hi all,

I have spent the last three days attempting to migrate several existing MuleSoft applications from Anypoint Studio to ACB. Unfortunately, this was unsuccessful due to the reasons outlined below.

Context: We utilize a hybrid deployment model with Customer Hosted Runtimes and a Domain App. Additionally, all projects inherit from a shared parent.pom.

1. Issues with Importing Shared Flows

 

General flows (e.g., error handling) are extracted into a separate common-flows Maven project. This project is not deployed independently but included as a dependency in individual apps via the POM. In Anypoint Studio, these flows are imported into the application using the <import> element (as shown below) and referenced via Flow-Ref:

xml

<import doc:name="Import Errorhandling" file="implementation/Errorhandling.xml" doc:id="e9ad9ec1-dc91-414f-a80d-f2d11335709f" />

In ACB, while the dependency resolves and the app starts initially, adding the specific <import> tag to the XML causes connector properties to fail resolution. Furthermore, the flow is not recognized by the Flow-Ref component.

2. Domain App Configuration

 

As soon as the Domain App is linked in the project's pom.xml, connector property resolution fails similarly to the issue above. Additionally, the application fails to start because the runtime requires the Domain App to be deployed simultaneously. How is this achieved within the ACB environment?

3. Concurrent Debugging of Multiple Apps

 

Our standard development lifecycle involves projects consisting of at least one Experience API (EAPI) and one Process API (PAPI), and potentially a System API (SAPI). I typically debug these simultaneously in my local environment prior to server deployment.

How can I execute multiple applications concurrently in ACB? Even when using a Compound Configuration (comprising multiple launch.config files), ACB prevents the second app from launching with a notification that a debug session is already active. 

 

Greetings 

Sebastian

6 risposte
0/9000