I have a Java class that writes data to a file every time you run the program. The Java class is written in the Mule project, and i would like to use a mule flow to invoke this Java class. So my question is - how can i invoke/start the main method of a class in a Flow in Mule ESB? The whole goal is to automate this process. The flow has other components, and calling the main method of the Java class will be part of the flow.
Thanks