public class DefaultBlobDownloadStrategy extends DefaultStrategy implements BlobDownloadStrategy
BlobDownloadStrategy which uses the URL
 class to download files or streams from a remote URLtransferPolicy| Constructor and Description | 
|---|
| DefaultBlobDownloadStrategy(BlobTransferPolicy transferPolicy) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | deleteFile(ActiveMQBlobMessage message) | 
| InputStream | getInputStream(ActiveMQBlobMessage message) | 
createMessageURL, isSuccessfulCodepublic DefaultBlobDownloadStrategy(BlobTransferPolicy transferPolicy)
public InputStream getInputStream(ActiveMQBlobMessage message) throws IOException, JMSException
getInputStream in interface BlobDownloadStrategyIOExceptionJMSExceptionpublic void deleteFile(ActiveMQBlobMessage message) throws IOException, JMSException
deleteFile in interface BlobDownloadStrategyIOExceptionJMSExceptionCopyright © 2005–2016 FuseSource, Corp.. All rights reserved.