How the Mule application can be directly convert into a war file, to deploy in Jboss application server, i tried and failed with creating the war file manually as mentioned here and gone through this too, but still didn’t get a clear view on this part.Provide a assistance with example. Note: there is no Mule-config.xml file in my sample mule application program
Share
pom.xml, ensure you have<packaging>war</packaging>src/main/webapp/WEB-INF/web.xmlusing the template below, replacingYOUR_CONFIGSwith a comma-separated list of Mule configurations andYOUR_PATHwith the path you want for the Mule servlet,<servlet:inbound-endpoint path="/YOUR_ENDPOINT_PATH" />And you should be good to go!
web.xml:
EDIT I’ve open-sourced a running demo: https://github.com/ddossot/mule-webapp-example