-
Jan 2nd, 2013, 05:36 AM
#1
Getting Current Resource Filename in ItemReader
Hi,
I currently have a class InvoiceFileItemReader which implements ItemReader. I am overriding the read() method and I need to access the filename of the currently executing file. I know that a MultiResourceItemReader has a getCurrentResource() method. I want to do the same sort of thing using an ItemReader.
What is the best possible way to achieve this?
Any help will be greatly appreciated.
Thanks,
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules