Camel
  1. Camel
  2. CAMEL-5197

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

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor 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).

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development