Mass import using Spring Integration
Posted: Mon Dec 24, 2012 2:16 pm
I've been working on building my own demo based on Heat Clinic. I have a large number of products I'd like to import without manually generating any SQL or entering them in one-by-one in the Admin console. I have about 1300 files to process (each file contains the info of a single product). My initial thought is to set up a Spring Integration file poller to bring in each of the files and parse it into an entity that extends Product. My question then is: Do I then just need to autowire in the blProductDao and call .save(Product p) on it? Or is there a different bean I should use?