简体   繁体   English

在Mule中使用数据库jdbc

[英]Working with database jdbc in mule

I followed the example by referring http://blogs.mulesoft.org/working-with-databases-jdbc-in-mule-studio/ . 我通过引用http://blogs.mulesoft.org/working-with-databases-jdbc-in-mule-studio/跟随了该示例。

It worked out well but I have a query: 1) Series of .dat files are getting generated. 它工作得很好,但我有一个疑问:1)正在生成一系列.dat文件。 How to stop that? 如何停止呢?

Please help 请帮忙

That is an expected behavior when you run a Mule example that outputs files, as it is the default file extension used by Mule file transport. 当您运行输出文件的Mule示例时,这是预期的行为,因为它是Mule文件传输使用的默认文件扩展名。 If you want to run the example without the file output, and see the output in the MuleStudio Console tab instead, replace <file:outbound-endpoint path="/Users/myUser/myFolder" doc:name="File"/> with <logger level="INFO" message="#[payload]"/> 如果要运行不带文件输出的示例,而是在MuleStudio控制台选项卡中查看输出,则将<file:outbound-endpoint path="/Users/myUser/myFolder" doc:name="File"/>替换为<logger level="INFO" message="#[payload]"/>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM