Re: Polling consumer poll period

2016-11-02 Thread Brad Johnson
one minute waiting time is coming from. If I disable > pollingEnrich() then I see timer works as expected(its sending an empty > exchange every 10 seconds). > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/Polling-consumer-poll-period-tp578960

Re: Polling consumer poll period

2016-11-02 Thread cacert
Hi, Where is this one minute waiting time is coming from. If I disable pollingEnrich() then I see timer works as expected(its sending an empty exchange every 10 seconds). -- View this message in context: http://camel.465427.n5.nabble.com/Polling-consumer-poll-period-tp5789609p5789625.html

Re: Polling consumer poll period

2016-11-02 Thread Zoran Regvart
Hi Kasim, you need to add fixedRate=true to timer parameters, see example at: http://camel.apache.org/timer.html#Timer-Sample zoran On Wed, Nov 2, 2016 at 6:28 AM, Kasim Sert (Ibtech-Software Infrastructure) wrote: > Hi, > > Although timer period is 10 seconds , when i check the logs I can see

Polling consumer poll period

2016-11-01 Thread Kasim Sert (Ibtech-Software Infrastructure)
Hi, Although timer period is 10 seconds , when i check the logs I can see this polling occurs every 1 minute. I changed the polling consumer timeout but same result. Why is this behaviour ? Note : Using camel 2.18.0 with Spring Boot. from("timer://mytimer?period=1")