Package org.apache.activemq.blob
Class BlobDownloader
- java.lang.Object
-
- org.apache.activemq.blob.BlobDownloader
-
public class BlobDownloader extends Object
Mediator for Blob Download
-
-
Constructor Summary
Constructors Constructor Description BlobDownloader(BlobTransferPolicy transferPolicy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteFile(ActiveMQBlobMessage message)
BlobTransferPolicy
getBlobTransferPolicy()
InputStream
getInputStream(ActiveMQBlobMessage message)
BlobDownloadStrategy
getStrategy()
-
-
-
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()
-
-