I have been using Spring Integration 1.0.0 and recently migrated to the latest version which is 2.1.3.
Everything worked out nicely for me except the file name for processed files.
Spring is adding auto generated filename with .msg extensions.
What I would really like to use is the older original file names.
When I went back to debug the old integration code, I found that, once I receive the Message, I could see the file header (spring.integration.file.name) and its value as original filename,
but in the newer version of Spring Integration (2.1.3), I did not see such header being present at all (when intercepted by my transformers).
I searched through and didn't find any relevant problem posted so far.
I found some FilenameGenerator sample implementations which of course worked for me, but I have to generate the new names manually which I really don't want to do.
Any possible solution to this problem? Have anybody encounter this issue so far?