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