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.

Reply via email to