Re: Transactional batching

2013-04-04 Thread boday
thanks Scott, I noticed that SJMS supports batched Tx, but given that it hasn't been released yet, I assume others have had to work around this issue using camle-jms in the past...sounds like I'll need to roll my own or rely on aggregator/hawtdb EIP until 2.11 can be used... sully6768 wrote > Hi

Re: Transactional batching

2013-04-03 Thread Scott England-Sullivan
Hi Ben, Currently only SJMS (2.11.0) has support for batching of JMS transactions (local only, no XA). The consumer has natural batch support meaning that you set the number of messages you would like read before issuing a commit. You can also specify a timeout, default is 5000ms, to keep the co

Re: Transactional batching

2013-04-02 Thread boday
this is a really old thread, but I'm wondering if anyone has any updated ideas on this...I have a similar requirement to read from an AMQ queue, batch X messages together and then process. I'm currently doing this with the aggregator/hawtdb repo combination but performance is proving too slow...

Re: Transactional batching

2011-08-21 Thread David J. M. Karlsen
Looking at this thread I wonder the same. During a resource local jmstransaction you are able to fetch several messages - but there is no way in camel to control the commit size. You can do the same during a XA tx. I see no support for batching here: http://camel.apache.org/batch-consumer.html.

Re: Transactional batching

2009-03-11 Thread Claus Ibsen
On Tue, Mar 10, 2009 at 8:23 PM, Thomas Beckmann wrote: > Hi, > > Am Dienstag 10 März 2009 schrieb Claus Ibsen: >> On Tue, Mar 10, 2009 at 3:23 PM, Thomas Beckmann >> >> wrote: >> > Hi, >> > >> > we are using camel 1.6 and we have a simple route that reads from an >> > activemq queue and writes t

Re: Transactional batching

2009-03-10 Thread Thomas Beckmann
Hi, Am Dienstag 10 März 2009 schrieb Claus Ibsen: > On Tue, Mar 10, 2009 at 3:23 PM, Thomas Beckmann > > wrote: > > Hi, > > > > we are using camel 1.6 and we have a simple route that reads from an > > activemq queue and writes to another activemq queue based on a recipient > > list. The read and

Re: Transactional batching

2009-03-10 Thread Adrian Trenaman
Seems to me that each message is being read from ActiveMQ in it's own transaction, so, you can't really have this batching happen in one transaction. You might want to * Read each message from AMQ in it's own JMS transaction * Write the content of each message to a database * Then, have rout

Re: Transactional batching

2009-03-10 Thread Claus Ibsen
On Tue, Mar 10, 2009 at 3:23 PM, Thomas Beckmann wrote: > Hi, > > we are using camel 1.6 and we have a simple route that reads from an activemq > queue and writes to another activemq queue based on a recipient list. The > read and write is done in a transaction. > > Is it possible to somehow confi