我需要通过 Munit 进行端到端(功能测试)测试。为此,我需要附加实际的有效载荷,即 Image。如何在入站消息处理器中附加图像(Munit - 设置消息,没有附件选项)或我们可以实现此目的的任何其他方式。
<flow name="TestImage">
<file:inbound-endpoint path="tmp\imageUpload" responseTimeout="10000" doc:name="ImageFlow" connector-ref="fileConn" fileAge="100" pollingFrequency="500"></file:inbound-endpoint>
............. many processor..... Logic involved...
<file:outbound-endpoint path="tmp\Upload" responseTimeout="10000" doc:name="Flow" connector-ref="fileConn" fileAge="100" pollingFrequency="500"></file:outbound-endpoint>
骡工作室版本:5.3.1