Interface UploadAttacher
public interface UploadAttacher
Attaches file uploads to Camel
Message
s.-
Method Summary
Modifier and TypeMethodDescriptionvoid
attachUpload
(File localFile, String fileName, org.apache.camel.Message message) Attach the uploaded file represented by the givenlocalFile
andfileName
to the givenmessage
-
Method Details
-
attachUpload
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
-