org.apache.activemq.blob
Class BlobDownloader

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

public class BlobDownloader
extends java.lang.Object

Mediator for Blob Download


Constructor Summary
BlobDownloader(BlobTransferPolicy transferPolicy)
           
 
Method Summary
 void deleteFile(ActiveMQBlobMessage message)
           
 BlobTransferPolicy getBlobTransferPolicy()
           
 java.io.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 java.io.InputStream getInputStream(ActiveMQBlobMessage message)
                                   throws java.io.IOException,
                                          javax.jms.JMSException
Throws:
java.io.IOException
javax.jms.JMSException

deleteFile

public void deleteFile(ActiveMQBlobMessage message)
                throws java.io.IOException,
                       javax.jms.JMSException
Throws:
java.io.IOException
javax.jms.JMSException

getBlobTransferPolicy

public BlobTransferPolicy getBlobTransferPolicy()

getStrategy

public BlobDownloadStrategy getStrategy()


Copyright © 2005-2015. All Rights Reserved.