Do you have Java code that you want to reuse in your Mule project? Is it in a *.jar file? This video will show you how to call a Java method from a *.jar file directly from DataWeave. I'll walk you through the process of adding the *.jar file to your local Maven repo, adding it to your project, and how to reference the Java method inside your DataWeave script.
Reuse is a major tenant of MuleSoft and the Anypoint Platform. If your developers have existing code, they can re-use that in their Mule projects. Either in Java, Python, Ruby, or Javascript.
Setup Steps
http://dejim.com/call-a-java-method-f...
Example Project
https://github.com/djuang1/use-jar-in...
На этой странице сайта вы можете посмотреть видео онлайн Call a Java method from a JAR file in DataWeave длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Dejim Juang 22 Июнь 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 3,798 раз и оно понравилось 38 зрителям. Приятного просмотра!