activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "code.junkie" <code.junkie...@gmail.com>
Subject Re: Newbie questions
Date Wed, 14 May 2008 19:56:40 GMT



rajdavies wrote:
> 
> Why not use transactions for the consumer ? - there maybe a marginal  
> improvement in performance - as it allows us to batch up the  
> acknowledgements back to the server.
> Note of caution though - ensure the transaction boundary is smaller  
> than the prefetch size - see
> http://activemq.apache.org/what-is-the-prefetch-limit-for.html
> it makes the broker have to work less!
> 

Also is there any sample code that I can refer for using transactions for
consumers?

Thanks,
Rakesh

-- 
View this message in context: http://www.nabble.com/Newbie-questions-tp17238878s2354p17239566.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message