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.