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 Claus Ibsen
Well its how we do it in camel-mail https://github.com/apache/camel/blob/master/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailEndpoint.java#L59 eg set it on the endpoint. On Tue, Sep 22, 2015 at 7:36 AM, peter_ce wrote: > Hi > > The behavior is still the same in Camel 2

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.

Re: custom consumer doesn't change the delay

2015-09-21 Thread Claus Ibsen
Hi I think we fixed a bug in that delay stuff. Can you try with latest release? On Mon, Sep 21, 2015 at 2:46 PM, peter_ce wrote: > Hi > > my custom component won't change the delay for the polling events. The > consumer inherits from ScheduledPollConsumer and sets the delay with > setDelay(). >