camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manuel EVENO (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5197) Allow the definition of a FileComponent with a FileConfiguration (same as for JMS)
Date Fri, 13 Feb 2015 15:22:11 GMT

    [ 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)

Mime
View raw message