[ 
https://issues.apache.org/jira/browse/CAMEL-8827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14570372#comment-14570372
 ] 

Claus Ibsen commented on CAMEL-8827:
------------------------------------

Willem please hold on this.

This is not what we want to do. The file component uses the file/simple 
language for a few options which is related to files, eg file name etc, preMove 
and so on.

But plain options that are boolean such as noop should not be. People should 
use {{ }} placeholders which already support reading from system and ENV 
variables. So its already possible today. See
http://camel.apache.org/using-propertyplaceholder.html

> Enable file component to accept expression for the noop option
> --------------------------------------------------------------
>
>                 Key: CAMEL-8827
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8827
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.15.2
>            Reporter: stephen hartley
>            Assignee: Willem Jiang
>              Labels: easyfix, features
>             Fix For: 2.15.3
>
>
> When using the file consumer it would be very useful for me to set the noop 
> option dynamically using a camel expression.
> For example I would like to be able to write a Simple expression such as 
> noop=${sys.someSystemProperty}
> This is already possible on other options on this component such as move and 
> preMove and I would like it to work in the same way.
> Thanks in advance!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to