我试图创建一个数据映射器的例子,其中入站和出站端点都是文件,看起来像一些东西。Mule Esb文件输出没有收到
当我执行文件的该程序的输出文件夹为空,按道理我认为我需要把和HashMap到数据映射和输出文件之间的XML转换器。更多我创建了一个csv文件到XML文件从数据映射器中的示例选项中选择。 最初我尝试使用它启动的FTP端点导致错误,所以我用文件端点替换了FTP。
我在这里分享configuration.xml中文件
<mule xmlns:file="....>
<data-mapper:config name="sample_mapper_grf" transformationGraphPath="sample_mapper.grf" doc:name="DataMapper"/>
<flow name="CSV_to_XML_Data_MapperFlow1" doc:name="CSV_to_XML_Data_MapperFlow1">
<file:inbound-endpoint path="/home/jay/CSV_XML_/input" responseTimeout="10000" doc:name="Input File"/>
<data-mapper:transform config-ref="sample_mapper_grf" doc:name="DataMapper"/>
<file:outbound-endpoint path="/home/jay/CSV_XML_/output/" responseTimeout="10000" doc:name="Output File"/>
</flow>
</mule>
数据映射配置的图像这里
? – genjosanzo 2013-05-04 21:20:58
我编辑了我的帖子,提供了更多的细节。 – 2013-05-06 05:51:54
在'/ home/jay/CSV_XML_/input'中放置CSV文件会发生什么?日志中的任何内容?文件是否被Mule自动删除? – 2013-05-06 16:52:18