Mule3.0开发教程

更新时间:2023-05-07 09:35:19 阅读: 评论:0

环境搭建和例子:
Download mule standaloe from web site:
/download-mule-esb-community-edition
Unzip to a path(such as: D:\mulesl312)
Installing Mule IDE in Eclip
Start Eclip, and t up a workspace for your installation of Mule if you haven't already. (Make sure your workspace does not have a space in the directory path)
In the workbench view, choo Help > Install New Software.
Press the Add button next to the Work with text box, enter /mule-ide/updates/3.4/ and press Enter. The Mule IDE now appears in your list of available software.
Select the Mule IDE check box and click Next, and after Eclip process for a moment, click Next again.
Review the Mule IDE licen, lect the option to accept the licen, and then click Finish.
Click Yes to restart Eclip.
Set Mule Distributions in eclip:
You are now ready to configure the Mule distribution as described in the next ction.
Config MULE_HOME and add bin to path:
MULE_HOME: D:\mulesl312
Path:%Path%; %MULE_HOME%\bin
Create a new Mule project:
How to Import  a  existing project to Mule project and run it:
there is some ecamples in example folder of MULE,wecanimport  them
We neeed to add Mule classpath lib to the project
Then we can run the project on Mule runtime like as:
So rver starts:
NFO  2011-06-22 11:38:01,125 [main] dule.management.agent.JmxAgent: Registered Endpoint Service with name: Mule.04cd6ac8-9c81-11e0-95b7-8bd1ea0dc252:type=Endpoint,rvice="Hello World",connector=connector.http.mule.default,name="endpoint.http.localhost.8888"
INFO  2011-06-22 11:38:01,125 [main] dule.management.agent.JmxAgent: Registered Connector Service with name Mule.04cd6ac8-9c81-11e0-95b7-8bd1ea0dc252:type=Connector,name="connector.rvlet.mule.default.1"
INFO  2011-06-22 11:38:01,125 [main] dule.management.agent.JmxAgent: Registered Connector Service with name Mule.04cd6ac8-9c81-11e0-95b7-8bd1ea0dc252:type=Connector,name="connector.stdio.mule.default.1"
INFO  2011-06-22 11:38:01,125 [main] dule.management.agent.JmxAgent: Registered Connector Service with name Mule.04cd6ac8-9c81-11e0-95b7-8bd1ea0dc252:type=Connector,name="connector.VM.mule.default.1"
INFO  2011-06-22 11:38:01,125 [main] dule.management.agent.JmxAgent: Registered Connector Service with name Mule.04cd6ac8-9c81-11e0-95b7-8bd1ea0dc252:type=Connector,name="connector.http.mule.default.1"
INFO  2011-06-22 11:38:01,140 [main] org.mule.DefaultMuleContext:
**********************************************************************
* Mule ESB and Integration Platform                                  *

本文发布于:2023-05-07 09:35:19,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/90/99104.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:环境   搭建   例子
相关文章
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图