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