Poll a folder and consume files older than x times

2011-01-23 Thread arda.aydin
Hi, In my system, there is a folder that i use to put some files to be consumed by an application which deletes the file after the consume. If the name of the file is not good for the application, the file is never read and stays inside folder. So i want to poll this folder with a camel route,

Re: Poll a folder and consume files older than x times

2011-01-24 Thread arda.aydin
y to avoid the files being processed except filters?? Regards. Claus Ibsen-2 wrote: > > On Sun, Jan 23, 2011 at 2:29 PM, arda.aydin wrote: >> >> Hi, >> >> In my system, there is a folder that i use to put some files to be >> consumed >> by an application w

Problem with mqtt component

2013-03-25 Thread arda.aydin
Hi everyone, I have a from(mqtt).to(mqtt) route but i can't get it work. Here are my route definitions: This doesn't work, the processor prints a log message but i can't consume on DP/Device1 topic. But when i replace the c

Re: Problem with mqtt component

2013-03-26 Thread arda.aydin
Hi, Even if i delete the processor it doesn't work. And now with your warning i make this: byte[] ba2 = {1,2,3,4,5}; exchange.getIn().setBody(ba2); inside my processor but i doesn't work. Camel version : 2.10.4 Thanks for your reply, Kod -- View this message in context: htt

Correlated Routes with or without BOM?

2012-03-28 Thread arda.aydin
Hi, I develop a system where a *producer* sends some messages to a *consumer* in 3 ordered asynchronous steps. Step1: this.from("jms:queueProducer") .process(new SomeProcessProcessor()) .to("jms:queueProducerReply"); Step2: this.from("jms:queueProducer") .proce

recipientList onException not catching CamelExchangeException

2012-05-10 Thread arda.aydin
Hi, I have a route with recipientList. When there is no consumers available on the calculated endpoint a org.apache.camel.CamelExchangeException is thrown. The problem is even i tried many ways, i can't find the way to catch this exception with onException. this.onException(Exception.

Re: recipientList onException not catching CamelExchangeException

2012-05-10 Thread arda.aydin
Hi Claus, You're right, sorry for the absence of version number (just an oversight). First i was using 2.6.0 as i had no solution i also tried with 2.9.3-SNAPSHOT i still have this issue. Cheers, Arda -- View this message in context: http://camel.465427.n5.nabble.com/recipientList-onException-