QuestionQ28

VerifiedDesigning for the runtime plane technology architecture

In a Mule 4 application that will 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 visible to the Java module’s classloader?

Explanation

Mule 4 classloading isolates each connector or module from application dependencies. A dependency required by the Java module must be declared as a shared library in the application’s Mule Maven plugin configuration so that the module’s classloader can access it.

Learn more

Community Discussion

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