2013-05-28 26 views
0

我已经创建了骡子Studio中的一个简单的骡子流量:骡独立社区ESB版本没有任何regognizing FTP:端点

<flow name="soapService" doc:name="soapService"> 
     <http:inbound-endpoint address="http://localhost:8888" 
      exchange-pattern="request-response" doc:name="HTTP"> 
      <cxf:jaxws-service serviceClass="com.testing.Person" /> 
     </http:inbound-endpoint> 

     <component class="com.testing.TestComponent" doc:name="Java"/> 
     <ftp:outbound-endpoint host="localhost" port="21" outputPattern="#[function:datestamp:dd-MM-yy]_#[function:systime]" responseTimeout="10000" doc:name="FTP" password="xxx" user="ftpuser"/> 
     <smtp:outbound-endpoint host="xxx" user="xxx" password="xxx" to="[email protected]" from="[email protected]" subject="Testing" responseTimeout="10000" doc:name="SMTP"/> 

</flow> 

这部作品骡子工作室推出,润细 - >骡应用程序,但是当我将它导出为mule可部署的归档文件,并启动我的mule独立esb,但它无法部署,出现嵌套异常Invalid content was found starting with element 'ftp:inbound-endpoint'.

如果我删除了ftp:endpoint,它可以正常工作。其他流量也一样。任何ftp-endpoint,in或outbound都会导致异常。

Mulestudio版本:3.4.0

骡子独立-3.4.0

任何想法?

回答

2

原因是,Mule Studio进入ftp端点的企业版命名空间和url。

参见:http://www.mulesoft.org/documentation/display/current/FTP+Transport+Reference

即使艰难您更改骡子工作室命名空间和URL,它改变它回到EE之一。所以我必须导出项目并打开流文件并在部署zip之前进行更改。

<mule xmlns:ftp="http://www.mulesoft.org/schema/mule/ee/ftp" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" version="EE-3.4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd 
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd 
http://www.mulesoft.org/schema/mule/ce/ftp http://www.mulesoft.org/schema/mule/ee/ftp/current/mule-ftp-ee.xsd"> 

<mule xmlns:ftp="http://www.mulesoft.org/schema/mule/ftp" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" version="EE-3.4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd 
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd 
http://www.mulesoft.org/schema/mule/ftp http://www.mulesoft.org/schema/mule/ftp/3.4/mule-ftp.xsd"> 
+0

我有同样的问题。这不是一个应该在Mule Studio中照顾的错误吗? –