欢迎来到天天文库
浏览记录
ID:37711687
大小:28.06 KB
页数:6页
时间:2019-05-29
《Mule ESB Hello实例(四)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、MuleESBHello实例(四)这是一个最简单的muleesb入门实例,其中用了flow,endpoint,transformer,component这些组件,这些组件的配置也是最简单配置.情景:1.在浏览器地址栏输入http://localhost:9090/hello-mule?name=oliver&age=20,会返回"Hellooliver,yourageis10".1.在浏览器地址栏输入http://localhost:9090/love-mule?name=oliver&age=20,会返回"Loveoliver,y
2、ourageis10".配置文件:[html] viewplaincopy1. 2.3、. xmlns:http="http://www.mulesoft.org/schema/mule/http" 6. xmlns:vm="http://www.mulesoft.org/schema/mule/vm" 7. xsi:schemaLocation=" 8. http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd4、 9. http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.2/mule.xsd 10. http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/3.2/mule-http.xsd 11. http://www.mulesoft.org/schema/mule/vm5、 http://www.mulesoft.org/schema/mule/vm/3.2/mule-vm.xsd"> 12. 13. 14. 15. 16. 17. 18. 19. 20. 27、1. 22. 23. 1. 2. 3. 8、-- 根据客户端传过来的内容,返回相应的Hello语句 --> 4. 5.
3、. xmlns:http="http://www.mulesoft.org/schema/mule/http" 6. xmlns:vm="http://www.mulesoft.org/schema/mule/vm" 7. xsi:schemaLocation=" 8. http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
4、 9. http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.2/mule.xsd 10. http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/3.2/mule-http.xsd 11. http://www.mulesoft.org/schema/mule/vm
5、 http://www.mulesoft.org/schema/mule/vm/3.2/mule-vm.xsd"> 12. 13. 14. 15. 16. 17. 18. 19. 20. 2
7、1. 22. 23. 1. 2. 3.
8、-- 根据客户端传过来的内容,返回相应的Hello语句 --> 4. 5.
此文档下载收益归作者所有