Hi, yesterday I worked on JMS Configuration and following your suggestion I changed it like this avoiding OOM
<policyEntry queue=">" producerFlowControl="true" memoryLimit="1024mb" optimizedDispatch="true"> <pendingQueuePolicy> <vmQueueCursor /> </pendingQueuePolicy> <pendingMessageLimitStrategy> <constantPendingMessageLimitStrategy limit="1000"/> </pendingMessageLimitStrategy> </policyEntry> and on tag systemUsage I set sendFailIfNoSpace="false". I'll work on this way to improve performance. Anyway, thanks a lot for your support. Best Regards Michele -- View this message in context: http://camel.465427.n5.nabble.com/Best-Strategy-to-process-a-large-number-of-rows-in-File-tp5779856p5780132.html Sent from the Camel - Users mailing list archive at Nabble.com.