问题描述
我正在使用standrad IMAP连接器,不幸的是,在新版本的Mule 4中,我看不到设置charset的选项,.xlsx附件的输出会自动从二进制转换为非二进制。无论如何,有没有停止的方法。这是Mule4中一种被诅咒的新行为,其中Mule 3将.xlsx文件输出为二进制内容。 我们可以将imaps解码的任何属性设置为false等吗?
连接器:
<email:imap-config name="Email_IMAP" doc:name="Email IMAP" doc:id="b1c3b28a-8197-4073-9b75-f73f5632f9ad">
<email:imaps-connection host="${imaps.host}" user="${imaps.user}" password="${secure::imaps.password}" port="${imaps.port}">
<tls:context>
<tls:trust-store insecure="true"/>
</tls:context>
**<email:properties >
</email:properties>**
</email:imaps-connection>
</email:imap-config>
<flow name="test-Flow" doc:id="a596b6ff-a8a2-4233-aad0-3b0204feaf56" >
<http:listener doc:name="Listener" doc:id="8a9604e1-0115-4ff2-992e-ca0774d6dbe8" config-ref="HTTP_Listener_System_config" path="/test/imap" />
<email:list-imap doc:name="List - IMAP" doc:id="29b7d3b5-f848-471b-98fa-0faf475605e9" config-ref="Email_IMAP" pageSize="1" limit="1">
<email:imap-matcher answered="EXCLUDE" deleted="EXCLUDE" seen="EXCLUDE" />
</email:list-imap>
<ee:transform doc:name="Transform Message" doc:id="b057721d-4fd2-4c11-9490-569dddad544d" >
<ee:message >
<ee:set-payload ><![CDATA[%dw 2.0
output text/plain
---
payload]]></ee:set-payload>
</ee:message>
</ee:transform>
</flow>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)