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
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
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.
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().
>