Do you mean long (code) or slow (performance)?

I would expect something like:

from("jpa://XXX")
  .convertBodyTo(Foo.class)
  .to("jpa://YYY")

or

from("jpa://XXX")
  .process(new MyConverter())
  .to("jpa://YYY")

or

from("jpa://XXX")
  .to("bean://myConverter?method=convert")
  .to("jpa://YYY")

Right?

Best,
Christian

On Mon, Nov 21, 2011 at 1:11 PM, Idriss <doulmakhzo...@gmail.com> wrote:

> Thank you for your reply Christian,
>
> I managed to extract data from a database using JPA and insert them into
> another database using a Processor, but this procedure is very long. Is
> there a way to optimize the insertion of these data in the database?
>
> Regards
> Idriss
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/CSV-to-database-tp4435750p5010354.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to