public class FTPBlobUploadStrategy extends FTPStrategy implements BlobUploadStrategy
BlobUploadStrategy.ftpPass, ftpUser, transferPolicy, url| Constructor and Description |
|---|
FTPBlobUploadStrategy(BlobTransferPolicy transferPolicy) |
| Modifier and Type | Method and Description |
|---|---|
URL |
uploadFile(ActiveMQBlobMessage message,
File file) |
URL |
uploadStream(ActiveMQBlobMessage message,
InputStream in) |
createFTP, setUserInformationpublic FTPBlobUploadStrategy(BlobTransferPolicy transferPolicy) throws MalformedURLException
MalformedURLExceptionpublic URL uploadFile(ActiveMQBlobMessage message, File file) throws JMSException, IOException
uploadFile in interface BlobUploadStrategyJMSExceptionIOExceptionpublic URL uploadStream(ActiveMQBlobMessage message, InputStream in) throws JMSException, IOException
uploadStream in interface BlobUploadStrategyJMSExceptionIOExceptionCopyright © 2005–2015 FuseSource, Corp.. All rights reserved.