Hi

Any parameter with consumer. prefix will be configured as properties
on the created consumer.
Now the file and ftp consumers is scheduled based, and therefore these
options apply to their scheduling which is in an inherited class.

Now in terms of the consumer.delay option, then we got tired of having
to specify consumer.delay, instead of just delay. So we added support
for these shortcuts a long time ago.

The consumer. prefix is not so often used, as often a component
exposes all its options in the endpoint, and then uses these options
to configure its consumer/producers.



On Fri, May 4, 2012 at 9:38 PM, Łukasz Dywicki <l...@code-house.org> wrote:
> Hey,
> I have question about File and FTP endpoints documentation. Both pages on 
> wiki points to consumer. prefix for some parameters - for example 
> initialDelay or delay, but they are not used at all. Or at least they are set 
> directly on endpoint (GenericFileEndpoint) instance. If it is used somewhere 
> else or I am blind? FTP documentation also points to FTPConsumer only 
> (deleteFile, userFixedDelay). I've walked through code and I've found no 
> usage of these parameters directly in FtpConsumer. Should these parameters be 
> named delete, useFixedDelay and so on?
>
> Best regards,
> Lukasz Dywicki
> --
> Code-House
> http://code-house.org
>



-- 
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to