欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Mule
来自开放百科 - 灰狐
(版本间的差异)
小 (→相关链接) |
|||
(未显示2个用户的50个中间版本) | |||
第1行: | 第1行: | ||
+ | {{top news}} | ||
+ | {{SeeWikipedia|Mule (software)}} | ||
[[Image:Mule-logo.png|right]] | [[Image:Mule-logo.png|right]] | ||
− | + | [[Image:mule_logo_footer.gif]] 是一款领先的 open source ESB (Enterprise Service Bus) 和集成平台. | |
− | + | Mule 的核心是一个基于SEDA的服务容器,该容器管理被称为通用消息对象 (Universal Message Objects /UMO) 的服务对象,而这些对象均是POJO。 | |
− | + | ||
− | + | ||
+ | Mule 2.0 已经发布 | ||
+ | |||
+ | ==新闻== | ||
+ | <rss>http://feeds.feedburner.com/muleblog|short|date|max=10</rss> | ||
+ | |||
+ | ==安装指南== | ||
+ | [[Image:mule_overview.gif|thumb|right|Mule Overview]] | ||
+ | from http://download.huihoo.com/mule/ | ||
+ | 如: mule-1.3-rc4-dist.tar.gz | ||
+ | tar zxvf mule-1.3-rc4-dist.tar.gz | ||
+ | [[Image:mule_services_backbone.jpg|right|thumb|Mule ESB]] | ||
+ | ==测试用例== | ||
+ | ===Echo=== | ||
+ | huihoo@debian:~/middleware/mule/mule-1.3-rc4/samples/echo/bin$ ./mule-echo.sh | ||
+ | MULE_HOME=../../.. | ||
+ | [[Image:mule-overview3.gif|thumb|right|系统架构]] | ||
+ | ********************************************************************** | ||
+ | * Mule - Universal Message Objects version 1.3-rc4 * | ||
+ | * SymphonySoft Limited * | ||
+ | * SymphonySoft Limited * | ||
+ | * * | ||
+ | * Server started: 2006年8月26日 星期六 上午09时52分13秒 CST * | ||
+ | * JDK: 1.5.0_07 (mixed mode, sharing) * | ||
+ | * OS: Linux (2.6.8-2-386, i386) * | ||
+ | * Host: localhost.localdomain (127.0.0.1) * | ||
+ | * ID: Mule_Echo_Sample * | ||
+ | * * | ||
+ | * Agents Running: * | ||
+ | * Mule Admin: accepting connections on tcp://localhost:60504 * | ||
+ | ********************************************************************** | ||
+ | |||
+ | Please enter something: this is a test | ||
+ | this is a test | ||
+ | http://localhost:8081/services/EchoUMO?method=echo¶m=Mule | ||
+ | 浏览器会显示 | ||
+ | <soap:Envelope> | ||
+ | <soap:Body> | ||
+ | <echoResponse> | ||
+ | <out>Mule</out> | ||
+ | </echoResponse> | ||
+ | </soap:Body> | ||
+ | </soap:Envelope> | ||
+ | |||
+ | 同时控制台会回显 Mule | ||
+ | |||
+ | 查看 wsdl 文件信息 | ||
+ | http://localhost:8081/services/EchoUMO?wsdl | ||
+ | |||
+ | ctrl-c | ||
+ | ****************************************************************************** | ||
+ | * Mule shut down normally on: 2006年8月26日 星期六 上午10时01分43秒 CST * | ||
+ | * Server was up for: 0 days, 0 hours, 9 mins, 29.796 sec * | ||
+ | echo 测试成功 | ||
+ | |||
+ | ===Hello World=== | ||
+ | bin目录下有三个脚本 | ||
+ | hello.sh - example using Mule Xml configuration | ||
+ | hello-spring.sh - example using Spring beans configuration | ||
+ | hello-http.sh - examples that accepts requests over http. | ||
+ | |||
+ | 启动 ./hello-http.sh | ||
+ | http://localhost:8888/?name=huihoo | ||
+ | 显示: Hello huihoo, How are you? | ||
+ | 测试成功 | ||
+ | |||
+ | ===Stock Quote=== | ||
+ | ./rest-stockquote.sh | ||
+ | Please enter a stock symbol: ibm | ||
+ | StockQuote{symbol=IBM, name=INTL BUSINESS MAC, date=8/25/2006 4:00pm, last=79.88, change=+0.50, | ||
+ | open=79.20, high=80.00, low=79.14, | ||
+ | volume=3428100, previousClose=79.38} | ||
+ | |||
+ | ==程序员指南== | ||
+ | [[Image:mule-message-flow.gif|thumb|right|Programming Model]] | ||
+ | |||
+ | ==相关链接== | ||
+ | *http://www.mulesoft.org/ | ||
+ | *[https://github.com/mulesoft MuleSoft @ GitHub] | ||
+ | *http://docs.huihoo.com/mule/ | ||
+ | *http://download.huihoo.com/mule/ | ||
− | + | {{comment}} | |
[[category:SOA]] | [[category:SOA]] | ||
+ | [[category:ESB]] |
2016年1月16日 (六) 07:37的最后版本
您可以在Wikipedia上了解到此条目的英文信息 Mule Thanks, Wikipedia. |
是一款领先的 open source ESB (Enterprise Service Bus) 和集成平台.
Mule 的核心是一个基于SEDA的服务容器,该容器管理被称为通用消息对象 (Universal Message Objects /UMO) 的服务对象,而这些对象均是POJO。
Mule 2.0 已经发布
目录 |
[编辑] 新闻
自http://feeds.feedburner.com/muleblog加载RSS失败或RSS源被墙
[编辑] 安装指南
from http://download.huihoo.com/mule/ 如: mule-1.3-rc4-dist.tar.gz tar zxvf mule-1.3-rc4-dist.tar.gz
[编辑] 测试用例
[编辑] Echo
huihoo@debian:~/middleware/mule/mule-1.3-rc4/samples/echo/bin$ ./mule-echo.sh MULE_HOME=../../..
********************************************************************** * Mule - Universal Message Objects version 1.3-rc4 * * SymphonySoft Limited * * SymphonySoft Limited * * * * Server started: 2006年8月26日 星期六 上午09时52分13秒 CST * * JDK: 1.5.0_07 (mixed mode, sharing) * * OS: Linux (2.6.8-2-386, i386) * * Host: localhost.localdomain (127.0.0.1) * * ID: Mule_Echo_Sample * * * * Agents Running: * * Mule Admin: accepting connections on tcp://localhost:60504 * **********************************************************************
Please enter something: this is a test this is a test http://localhost:8081/services/EchoUMO?method=echo¶m=Mule 浏览器会显示 <soap:Envelope> <soap:Body> <echoResponse> <out>Mule</out> </echoResponse> </soap:Body> </soap:Envelope> 同时控制台会回显 Mule
查看 wsdl 文件信息
http://localhost:8081/services/EchoUMO?wsdl
ctrl-c ****************************************************************************** * Mule shut down normally on: 2006年8月26日 星期六 上午10时01分43秒 CST * * Server was up for: 0 days, 0 hours, 9 mins, 29.796 sec *
echo 测试成功
[编辑] Hello World
bin目录下有三个脚本
hello.sh - example using Mule Xml configuration hello-spring.sh - example using Spring beans configuration hello-http.sh - examples that accepts requests over http.
启动 ./hello-http.sh http://localhost:8888/?name=huihoo 显示: Hello huihoo, How are you?
测试成功
[编辑] Stock Quote
./rest-stockquote.sh Please enter a stock symbol: ibm StockQuote{symbol=IBM, name=INTL BUSINESS MAC, date=8/25/2006 4:00pm, last=79.88, change=+0.50, open=79.20, high=80.00, low=79.14, volume=3428100, previousClose=79.38}
[编辑] 程序员指南
[编辑] 相关链接
- http://www.mulesoft.org/
- MuleSoft @ GitHub
- http://docs.huihoo.com/mule/
- http://download.huihoo.com/mule/
<discussion>characters_max=300</discussion>
分享您的观点