camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5197) Allow the definition of a FileComponent with a FileConfiguration (same as for JMS)
Date Fri, 06 Jul 2012 12:09:33 GMT

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

Claus Ibsen commented on CAMEL-5197:
------------------------------------

Its not often used by ppl to specify a <bean> for endpoints.
But since file endpoint has many options now, we could consider this as well.

And for uri you can refer to a file configuration bean, "file:foo?fileConfiguration=#myFileConfig"
to reuse shared options.

                
> 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: Improvement
>          Components: camel-core
>            Reporter: Manuel EVENO
>             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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message