You can use s m or h etc for seconds, minutes and hours. So 5s is 5 seconds.

delay and consumer.delay is the same option.

On Tue, Aug 18, 2015 at 2:41 PM, Knut-Håvard Aksnes <khaks...@gmail.com> wrote:
> I have some problems with some of the documentation related to delay and
> backoff:
>
> In http://camel.apache.org/polling-consumer.html section titled Using
> backoff to let the scheduler be less aggressive there is an example using a
> ft url with delay=5s&backoffMultiplier=6&backoffIdleThreshold=5
> First problem is the delay=5s as the file component documents this to be a
> milliseconds value. In the first sample in the ftp component documentation
> consumer.delay is used  instead of delay.
> As the documentation is somewhat unsure what works for sftp, using camel
> 2.15.2
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Confusing-documentation-for-ftp-component-tp5770797.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2nd edition: http://www.manning.com/ibsen2

Reply via email to