Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3091

File removed before SFTP gets to it; MessageDeliveryException, FileNotFoundException

    XMLWordPrintable

    Details

      Description

      I have a class receiving a report object in the message body then putting it on the appropriate channels based on a database profile for the client. The report might go onto a channel to an email adapter, another channel to a ftp adapter, or to a SFTP adapter, but also always goes to an ftp adapter and is sent to an archive folder hierarchy.

      The channel to the SFTP adapter is the new part, and it seems like some automatic file cleanup is taking place that's removing a temp file before the authentication is complete. I'm guessing it may be happening when the archive is complete. The application is passing byte[] around, not writing files, so the missing file shown in the log is apparently created by the framework and removed by the framework.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            ubazan Don Cook
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: