Mule独立ESB社区版本不重新登录任何ftp:endpoint
我用mule Studio创建了一个简单的mule流:Mule独立ESB社区版本不重新登录任何ftp:endpoint,ftp,mule,mule-studio,Ftp,Mule,Mule Studio,我用mule Studio创建了一个简单的mule流: <flow name="soapService" doc:name="soapService"> <http:inbound-endpoint address="http://localhost:8888" exchange-pattern="request-response" doc:name="HTTP"> <cxf:jaxws-service
<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="xxx@xxx.com" from="xxx@xxx.com" subject="Testing" responseTimeout="10000" doc:name="SMTP"/>
</flow>
这在mule Studio启动时可以正常工作,运行方式为->mule应用程序,但当我将其导出为mule可部署归档文件并启动mule独立esb时,它无法部署,出现嵌套异常发现从元素“ftp:inbound endpoint”开始的无效内容。
如果我删除ftp:endpoint,它可以正常工作。在其他流程中也是如此。任何ftp端点、入站或出站都会导致异常
Mulestudio版本:3.4.0
mule-standalone-3.4.0
有什么想法吗?原因是,Mule Studio为ftp端点输入企业版名称空间和url 见: 即使您在Mule Studio中更改名称空间和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 Studio为ftp端点输入企业版名称空间和url 见: 即使您在Mule Studio中更改名称空间和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">
到
要使用社区运行时,必须手动安装。 在此之后,您可以使用CE名称空间而不会出现任何问题
HTH要使用社区运行时,您必须手动安装它。 在此之后,您可以使用CE名称空间而不会出现任何问题
HTH是的,后来在试图找出工作室为什么改变路径时注意到了这一点。是的,后来在试图找出工作室为什么改变路径时注意到了这一点。我也有同样的问题。这不是一个应该在Mule Studio中处理的bug吗?我也有同样的问题。这不是一个应该在Mule Studio中处理的bug吗?