Re: Using Concurrent Consumers within a splitter

2010-02-23 Thread wmoussel
transfer the data from on thread to another. > > > On Tue, Feb 23, 2010 at 4:34 PM, wmoussel wrote: >> >> Hi, >> >> I'm basically trying to achieve this: >> >> from("file:input?move=output").loadBalance().to("direct:Q1","dire

Using Concurrent Consumers within a splitter

2010-02-23 Thread wmoussel
Hi, I'm basically trying to achieve this: from("file:input?move=output").loadBalance().to("direct:Q1","direct:Q2","direct:Q3") from("direct:Q1").setHeader("queue",constant("Q1")).to("direct:processFile") from("direct:Q2").setHeader("queue",constant("Q2")).to("direct:processFile") from("direct:Q

Re: File Consumer with dynamic list of files to poll

2010-02-22 Thread wmoussel
Thanks, Claus Ibsen-2 wrote: > > On Mon, Feb 22, 2010 at 1:01 PM, Claus Ibsen > wrote: >> On Mon, Feb 22, 2010 at 12:57 PM, wmoussel wrote: >>> >>> I considered decreasing the poll interval as well, but couldn't get cpu >>> usage >>> d

Re: File Consumer with dynamic list of files to poll

2010-02-22 Thread wmoussel
I considered decreasing the poll interval as well, but couldn't get cpu usage down enough for acceptable interval... I'm trying PollingConsumerPollStrategy but begin method is a void not a boolean, isn't it? Claus Ibsen-2 wrote: > > On Mon, Feb 22, 2010 at 9:04 AM, wmou

File Consumer with dynamic list of files to poll

2010-02-22 Thread wmoussel
Hi, Here's my initial issue. I have to poll for new files in a directory containing a lot of files (5000 to 2) (and I can't move them after processing). When using idempotent option it takes way too much cpu (like 9% even when they aren't new files). So i tried adding a filter so that the c

Disabling Tracer for a specific route

2010-01-14 Thread wmoussel
Hi, I'm trying to find a way to disable tracing for a specific route (i.e. not for the whole context). For instance I have a file poller that fires every 2 seconds and I'd like not to see the trace log. If there's no way I think i'll file a Jira. I was thinking maybe something like: from("f