activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milan tomic <>
Subject Batch processing
Date Wed, 20 May 2009 11:22:48 GMT


I have this case:

For each message that comes, I have to insert an record into MY_LOG table
and to make commit. Commits slows my DB, so I have decided to use MQ. The
question is: does MQ supports batch processing of messages? Can I say: give
me 50 messages from the queue at once, so I would make 50 INSERTs into DB
and ony 1 commit? Which is the best way to do this?

Thank you in advance,
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message