I'm trying to send XML
message to FTP
in Spring Integration
using active MQ
. Text message is working fine at Receiver Queue
and I can print message in console but how can I send this message to FTP
outbound adapter which need to store in a XML
file
in local directory?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
This question is not at all clear; XML is text. The FTP adapter can handle a String payload so you can simply receive the XML from JMS in a message and send it to the FTP adapter directly; there is no need to write to a file first.
Read the documentation.