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

File component - can not delete consumed file when processing failed (look into real cause)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.5.0
    • Component/s: camel-core
    • Labels:
      None

      Description

      See nabble:
      http://www.nabble.com/Problem-with-FileEndpoint-td19940096s22882.html

      Workaround
      Use .convertBodyTo(String.class) in the route so the file is read into memory, and the java.io.File handler shouldn't be open/locked when camel attempts to delete it after wards.

        Attachments

        1. CamelExampleFileJaxb.zip
          8 kB
          Christian Schneider

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: