Posts

Showing posts from July, 2019

Calling Mule4 flows from Java code

Image
Invoke Mule 4 flows from Java code. [ Note: Please use the below approach only if there are no alternatives left. Drawbacks of the approach- 1) If the Mule flow called from Java returns a stream this approach won't work 2)  Affects performance] Step 1: Include the below in the pom.xml of the application             ....       ....       </ properties >       < parent >              < groupId > org.mule.extensions </ groupId >              < artifactId > mule-modules-parent </ artifactId >              < version > 1.1.1 </ version >       </ parent >       < build ...