QuestionQ16

VerifiedDesigning integration solutions with Anypoint Platform

An insurance company is deploying a new Mule application that supports a group of critical functions driven by a REST-API-enabled claim-payment rules engine hosted on Oracle ERP. The new Mule application needs numerous data-transformation operations while it performs batch-processing logic. The company wants to leverage and reuse as many of its existing Java-based capabilities as possible, including classes, objects, frameworks, and the data model.

Which approach should be used to implement the required data mappings to, and transformations between, other Mule application components and Oracle ERP?

Explanation

DataWeave is used for Mule data mappings and transformations, while the Java module can invoke Java methods directly to reuse existing Java-based logic and object models. Pure DataWeave can call only static Java methods, so direct Java invocation is needed when the reusable capability includes appropriate non-static methods or existing objects. MuleSoft Java Module documentation and Call Java Methods with DataWeave describe these Java-integration constraints.

Learn more

Community Discussion

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