camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: consumerTemplate threading worries when having a Batch Consumer
Date Fri, 22 Jun 2012 10:04:16 GMT
On Fri, Jun 22, 2012 at 11:53 AM, ldam <larsdam@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: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message