QuestionQ10

VerifiedMuleSoft application network concepts

In a Mule 4 application to be deployed to customer-hosted Mule runtimes, the Java module’s Invoke Static operation must call a static method in a dependency JAR file.

How can the dependency be made available to the Java module’s classloader?

Explanation

Mule 4 isolates connector classloaders from application dependencies. Declaring the dependency as a shared library in the Mule Maven plugin configuration of the application’s pom.xml exposes the dependency to the Java module’s connector classloader.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!