On Fri, Jun 22, 2012 at 11:53 AM, ldam <lars...@gmail.com> wrote:
> Unfortunately we are not the masters of the filename given :/
>
> The reason we use consumerTemplate is because we use it in an JCA adapter
> and wants to be in control of the synchronization.
>

You can use maxMessagesPerPoll=1 to only poll 1 file at a time.


> kr. ldam
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/consumerTemplate-threading-worries-when-having-a-Batch-Consumer-tp5714904p5714912.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to