I have a spring batch application where I have Reader - Processor - Composite Writer
Now there is one usecase in our application where, I need to write an empty file when my reader returns null (i.e. when it reads empty file) else, my reader should invoke processor - writer flow.
Any help or suggestion how can I tackle this case in best possible way?