[
https://issues.apache.org/jira/browse/CAMEL-5197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14320263#comment-14320263
]
Manuel EVENO commented on CAMEL-5197:
-------------------------------------
The FileConfiguration references is doing the job actually.
There is no more need to define the FileComponent in my opinion.
> Allow the definition of a FileComponent with a FileConfiguration (same as for
> JMS)
> ----------------------------------------------------------------------------------
>
> Key: CAMEL-5197
> URL: https://issues.apache.org/jira/browse/CAMEL-5197
> Project: Camel
> Issue Type: New Feature
> Components: camel-core
> Reporter: Manuel EVENO
> Priority: Minor
> Fix For: Future
>
>
> We should be able to configure something like this:
> <bean id="file" class="org.apache.camel.component.file.FileComponent">
> <property name="configuration">
> <bean class="org.apache.camel.component.file.FileConfiguration">
> <property name="autoCreate" value="true" />
> <property name="premove" value="work"/>
> <property name="move" value="done"/>
> </bean>
> </property>
> </bean>
> To ensure a common behaviour and directory structure for file processing and
> make the endpoint declaration lighter
> (without all the options).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)