Sender File adapter
I am trying to send a csv file ti DB where i have set a primary key for one field in my JDBC table which has to be unique.
I handled ID generation sequence in mapping using global variables to get a unique number into DB table....If there are multiple files in the sender location, sender adapter is picking all the files at a time and processing the files at a time....and getting error in reciever communication channel as all the files are generating the same value while inserting into the DB table.
Could you please let me know how i can pick each file from the sender location instead of multiple files processing at a time...
Thanks in advance,