Interface UploadAttacher


public interface UploadAttacher
Attaches file uploads to Camel Messages.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    attachUpload(File localFile, String fileName, org.apache.camel.Message message)
    Attach the uploaded file represented by the given localFile and fileName to the given message
  • Method Details

    • attachUpload

      void attachUpload(File localFile, String fileName, org.apache.camel.Message message)
      Attach the uploaded file represented by the given localFile and fileName to the given message
      Parameters:
      localFile - the uploaded file stored locally
      fileName - the name of the upload as sent by the client
      message - the Message to attach the upload to