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 javax.jms.JMSException, IOException
uploadFile
in interface BlobUploadStrategy
javax.jms.JMSException
IOException
public URL uploadStream(ActiveMQBlobMessage message, InputStream in) throws javax.jms.JMSException, IOException
uploadStream
in interface BlobUploadStrategy
javax.jms.JMSException
IOException
Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.