mule初学的一个注意地方

   mule是实现esb的好帮手,跟着这里的文可以初学,但有几个地方要注意.http://javafever.javaeye.com/blog/121791

 

1) 在做例子二的时候,
     注意项目的输出目录为classes,然后要把mule-config.xml放在src目录下,这样myeclipse打包的时候,才会输出到classes目录下的,

 

2)查看mule的自带例子,可以清楚的很到配置(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>

posted on 2008-09-01 21:53 jackyrong的世界 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/jackyrong/archive/2008/09/01/1281539.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值