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
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
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...
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.
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
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
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
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