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

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.4.0
    • 1.5.0
    • camel-core
    • 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

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: