I forgot this link http://activemq.apache.org/what-is-the-prefetch-limit-for.html and so I changed the consumer endpoint like this
<route id="ProcessTicket_Route"> <from uri="activemq:queue:IF-INGESTATE_INBOUND?destination.consumer.prefetchSize=0"/> .... </route> Thanks again. Regards Michele -- View this message in context: http://camel.465427.n5.nabble.com/Best-Strategy-to-process-a-large-number-of-rows-in-File-tp5779856p5780004.html Sent from the Camel - Users mailing list archive at Nabble.com.