I am Doing File-Mail Scenario,
My File is in FTP and I have to attach the file and send it to the mail.
I used File and Mail Adaper for this scenario, I Didnot design the IR,Directly i used ID.
I configured File(FTP) Adapter.
I configured Mail (XI PAYLOAD) Adapter, I also defined beans in MAil Adapter, I used MessageTransformBean &PayloadSwapBean for the adapter modules.
File(xyz.txt) file is picking and attaching as an untitled.xml as an attachment.
My Problem is I need the attachment as xyz.txt file..
What will be the problem.
Can any one help and do the needful.
points will be awarded.