org.apache.activemq.blob
Class FTPBlobUploadStrategy
java.lang.Object
org.apache.activemq.blob.FTPBlobUploadStrategy
- All Implemented Interfaces:
- BlobUploadStrategy
public class FTPBlobUploadStrategy
- extends Object
- implements BlobUploadStrategy
A FTP implementation of BlobUploadStrategy
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FTPBlobUploadStrategy
public FTPBlobUploadStrategy(BlobTransferPolicy transferPolicy)
throws MalformedURLException
- Throws:
MalformedURLException
uploadFile
public URL uploadFile(ActiveMQBlobMessage message,
File file)
throws JMSException,
IOException
- Specified by:
uploadFile
in interface BlobUploadStrategy
- Throws:
JMSException
IOException
uploadStream
public URL uploadStream(ActiveMQBlobMessage message,
InputStream in)
throws JMSException,
IOException
- Specified by:
uploadStream
in interface BlobUploadStrategy
- Throws:
JMSException
IOException
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.