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, setUserInformation
public FTPBlobUploadStrategy(BlobTransferPolicy transferPolicy) throws MalformedURLException
MalformedURLException
public URL uploadFile(ActiveMQBlobMessage message, File file) throws JMSException, IOException
uploadFile
in interface BlobUploadStrategy
JMSException
IOException
public URL uploadStream(ActiveMQBlobMessage message, InputStream in) throws JMSException, IOException
uploadStream
in interface BlobUploadStrategy
JMSException
IOException
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.