you should at least create the emf only once and put it in your context i think.
- Romain 2011/11/23 Idriss <doulmakhzo...@gmail.com> > Hi Romain, > > Yes, in my processor I create EntityManagerFactory, EntityManager and > EntityTransaction for each message. > > > Idriss > > -- > View this message in context: > http://camel.465427.n5.nabble.com/CSV-to-database-tp4435750p5017515.html > Sent from the Camel - Users mailing list archive at Nabble.com. >