org.apache.activemq.blob
Class BlobDownloader

java.lang.Object
  extended by org.apache.activemq.blob.BlobDownloader

public class BlobDownloader
extends Object

Mediator for Blob Download


Constructor Summary
BlobDownloader(BlobTransferPolicy transferPolicy)
           
 
Method Summary
 void deleteFile(ActiveMQBlobMessage message)
           
 BlobTransferPolicy getBlobTransferPolicy()
           
 InputStream getInputStream(ActiveMQBlobMessage message)
           
 BlobDownloadStrategy getStrategy()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlobDownloader

public BlobDownloader(BlobTransferPolicy transferPolicy)
Method Detail

getInputStream

public InputStream getInputStream(ActiveMQBlobMessage message)
                           throws IOException,
                                  JMSException
Throws:
IOException
JMSException

deleteFile

public void deleteFile(ActiveMQBlobMessage message)
                throws IOException,
                       JMSException
Throws:
IOException
JMSException

getBlobTransferPolicy

public BlobTransferPolicy getBlobTransferPolicy()

getStrategy

public BlobDownloadStrategy getStrategy()


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.