Sai prateek
Sai prateek

Reputation: 11896

How to send XML JMS message to FTP in Spring integration

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?

Upvotes: 0

Views: 601

Answers (1)

Gary Russell
Gary Russell

Reputation: 174554

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.

Upvotes: 1

Related Questions