Interface UploadAttacher
-
public interface UploadAttacher
Attaches file uploads to CamelMessage
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
attachUpload(File localFile, String fileName, org.apache.camel.Message message)
Attach the uploaded file represented by the givenlocalFile
andfileName
to the givenmessage
-
-
-
Method Detail
-
attachUpload
void attachUpload(File localFile, String fileName, org.apache.camel.Message message)
Attach the uploaded file represented by the givenlocalFile
andfileName
to the givenmessage
- Parameters:
localFile
- the uploaded file stored locallyfileName
- the name of the upload as sent by the clientmessage
- theMessage
to attach the upload to
-
-