Re: Alan: batch database insert

2011-06-04 Thread Alan Camillo
I believe so. I'm working on something. If it is good enough, could be a enhancement. Alan On Sat, Jun 4, 2011 at 12:38 PM, Romain Manni-Bucau wrote: > Hi, > > i had something close to do and playing with an aggregator to do a kind of > commit interval is possible but doesn't exist out of the bo

Re: Alan: batch database insert

2011-06-04 Thread Romain Manni-Bucau
Hi, i had something close to do and playing with an aggregator to do a kind of commit interval is possible but doesn't exist out of the box, it could be a good enhancement. - Romain 2011/6/4 Alan Camillo > I get hundreds of messages by a queue and I have to insert those messages > in > 2 datab

Re: Alan: batch database insert

2011-06-04 Thread Alan Camillo
I get hundreds of messages by a queue and I have to insert those messages in 2 databases. Today I already use MyBatis for this operations but I believe a batch operation could be better. I'm tryng to find out something out of the box, as you said. But you are right, I can do something like that ju

Re: Alan: batch database insert

2011-06-03 Thread Claus Ibsen
Hi Can you explain a bit more what you mean? Camel does have a MyBatis component as well http://camel.apache.org/mybatis And in the end its all just Java code, so you can do whatever you want from a Java bean, if there is nothing out of the box that fits your needs. On Sat, Jun 4, 2011 at 1:12

Alan: batch database insert

2011-06-03 Thread Alan Camillo
Hello! How can I make a batch insert in database using camel? Today I'm using mybatis to do the insert operations. But I believe they don't have suporte.