Mule is a good helper to implement ESB, followed here can be beginners, but there are a few places to pay attention to. http://javafever.javaeye.com/blog/121791
1) In case 2,
Note that the output directory of the Project is classes, and then put the mule-config.xml under the src directory, so that the myeclipse package will be output to the classes directory,
2) Check the built-in examples of mule to clearly understand the configuration (mule \ example \ webapp)
<! -- Classpath within the servlet context. mule will attempt to load config
Files from here first, and then from the remaining classpath. -->
<Context-param>
<Param-Name> org. mule. webapp. classpath </param-Name>
<Param-value>/WEB-INF/classes </param-value>
</Context-param>
<Context-param>
<! -- If using the springcontextloaderlistener, use this Param name -->
<! -- <Param-Name> contextconfiglocation </param-Name> -->
<Param-Name> org. mule. config </param-Name>
<Param-value>
Jmx-config.xml,
Echo-config.xml,
Hello-http-config.xml,
Servlet-config.xml,
Stockquote-rest-config.xml,
Loan-broker-sync-config.xml,
Loan-broker-vm-endpoints-config.xml
</Param-value>
</Context-param>