You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Manuel EVENO (Updated) (JIRA)" <ji...@apache.org> on 2012/04/20 10:40:42 UTC

[jira] [Updated] (CAMEL-5197) Allow the definition of a FileComponent with a FileConfiguration (same as for JMS)

     [ https://issues.apache.org/jira/browse/CAMEL-5197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manuel EVENO updated CAMEL-5197:
--------------------------------

    Description: 
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).


  was:
We should be able to configure something like this:

    <!-- ActiveMQ Configuration for XA without JCA -->
    <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).


    
> 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
>    Affects Versions: Future
>            Reporter: Manuel EVENO
>
> 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