camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eswar <easwaramoor...@gmail.com>
Subject Re: convertBody - To SFTP component
Date Thu, 26 Jun 2014 10:50:45 GMT
hi Claus - But I do not want to send the message body as is. 

For ex., I have a message body of type HashMap as {"Path",
"C:/Temp/Test.txt"}. Now I need to send the file mentioned in the path using
the sftp component. So I was thinking this HashMap should be converted into
File so that sftp component understands to trasnfer Test.txt into remote
server and not the message itself.



--
View this message in context: http://camel.465427.n5.nabble.com/convertBody-To-SFTP-component-tp5752815p5752846.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message