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?
答案 0 :(得分:1)
这个问题一点也不清楚; XML 是文本。 FTP适配器可以处理String有效负载,因此您只需在消息中从JMS接收XML并直接将其发送到FTP适配器;没有必要先写入文件。