File with attachment to mail scenario
I am working on a scenario where I am configuring a file adapter to carry an XI payload along with a .jpg attachment. This is received by a mail adapter.
I have used a standard ejb on my mail receiver adapter side, where I have given the following specifications for my attachment
I have given a random module key in the configuration.(say 1)
The processing sequence is
1) attachment module
2) mail module
I am receiving the attachment as <b>filename.jpg.jpg</b> and it shows 250 Bytes in the mail whereas the actual size of the .jpg being sent is about 80 Kb.
Also, if i download this file, it says the size is 0 Kb.
Is the file getting corrupted somewhere?
Please let me know what the problem could be.