how to call a mule flow from java web application. My requirement is i have a form requesting for something when i submit the form i need to trigger the mule application how i need to trigger the application.
please help me out ASAP..
thanks in advance.
@tharunvfx This is very simple to implement.
You can expose your mule application as an API which will get the data as an input and get triggered.
Whenever you submit the web form, you will post the data to the mule application with the service url and the mule application will automatically be called and triggered.
For example, let us assume, your Mule API has following url:
Now you can POST and submit the data to this url from the web form and the Mule application will be triggered and received the form data as input payload