Hi,

Found a same question, it seems camel-sjms supports batch receive while 
camel-jms doesn't. So if you don't use XA camel-sjms should be a good to go.
http://camel.465427.n5.nabble.com/JMS-Batch-consumption-td5754941.html

Although there's a BatchMessageListenerContainer in spring-batch, I don't think 
it works for camel-jms OOTB.
http://docs.spring.io/spring-batch/apidocs/org/springframework/batch/container/jms/BatchMessageListenerContainer.html

Thanks,
Tomo

On 11/03/2016 06:13 AM, sa_james wrote:
 Hello,

I would like to consume a jms queue by closing the committing each
opened session only after I have received 10 messages. Can I do that
with camel?

Thanks.



--
View this message in context: 
http://camel.465427.n5.nabble.com/jms-and-camel-tp5789672.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to