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

Claus Ibsen edited comment on CAMEL-5197 at 2/14/15 1:37 PM:
-------------------------------------------------------------

Yeah we should look at allowing to define an <endpoint> as abstract then you 
can use that as a baseline.  And it would work on any endpoint.


was (Author: davsclaus):
Yeah we should look at allowing to define an <endpoint> as abstract then you 
can use that as a baseline. 

> 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
>            Assignee: Claus Ibsen
>            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)

Reply via email to