Re: custom consumer doesn't change the delay

2015-09-22 Thread peter_ce
I already tried to set the delay for the endpoint in my consumer class. Same behavior as before. Now i tried to set the delay in the endpoint constructor, just like you did in your mail-component, and it works just fine. It works for 2.15.2 and 2.15.3. Thanks for your help. -- View this mess

Re: custom consumer doesn't change the delay

2015-09-21 Thread peter_ce
Hi The behavior is still the same in Camel 2.15.3. -- View this message in context: http://camel.465427.n5.nabble.com/custom-consumer-doesn-t-change-the-delay-tp5771708p5771744.html Sent from the Camel Development mailing list archive at Nabble.com.

custom consumer doesn't change the delay

2015-09-21 Thread peter_ce
Hi my custom component won't change the delay for the polling events. The consumer inherits from ScheduledPollConsumer and sets the delay with setDelay(). Once Camel (org.apache.camel.impl.EventDrivenConsumerRoute.addServices(List)) creates it, the delay will be set back to default (500ms). Looks