org.apache.activemq.blob
Class DefaultBlobDownloadStrategy
java.lang.Object
org.apache.activemq.blob.DefaultStrategy
org.apache.activemq.blob.DefaultBlobDownloadStrategy
- All Implemented Interfaces:
- BlobDownloadStrategy
public class DefaultBlobDownloadStrategy
- extends DefaultStrategy
- implements BlobDownloadStrategy
A default implementation of BlobDownloadStrategy which uses the URL
class to download files or streams from a remote URL
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultBlobDownloadStrategy
public DefaultBlobDownloadStrategy(BlobTransferPolicy transferPolicy)
getInputStream
public InputStream getInputStream(ActiveMQBlobMessage message)
throws IOException,
javax.jms.JMSException
- Specified by:
getInputStream in interface BlobDownloadStrategy
- Throws:
IOException
javax.jms.JMSException
deleteFile
public void deleteFile(ActiveMQBlobMessage message)
throws IOException,
javax.jms.JMSException
- Specified by:
deleteFile in interface BlobDownloadStrategy
- Throws:
IOException
javax.jms.JMSException
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.