Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5197

Allow the definition of a FileComponent with a FileConfiguration (same as for JMS)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • Future
    • camel-core
    • None
    • Unknown

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

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              mektoub Manuel EVENO
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: