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

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

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: Future
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: