No - it's not tied to commitsize - it's for scaling up/down the threadpool / how long to keep threads sticking around for processing: http://docs.spring.io/autorepo/docs/spring-framework/2.5.x/api/org/springframework/jms/listener/DefaultMessageListenerContainer.html#setMaxMessagesPerTask(int) http://bsnyderblog.blogspot.no/2010/05/tuning-jms-message-consumption-in.html
2016-03-27 17:54 GMT+02:00 Vanshul.Chawla <vanshul.cha...@target.com>: > Its max number of message processed in one task. Ie max messages pulled from > queue before MQ commit happens which means one transaction commit for MQ. > > -----Original Message----- > From: raffi [mailto:raffi.onj...@gmail.com] > Sent: Sunday, March 27, 2016 10:49 AM > To: users@camel.apache.org > Subject: Re: Camel JMS, what is a "task" in maxMessagesPerTask? > > Ahh, ok, thanks Claus. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-JMS-what-is-a-task-in-maxMessagesPerTask-tp5779819p5779822.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen