org.apache.activemq.blob
Interface BlobDownloadStrategy

All Known Implementing Classes:
DefaultBlobDownloadStrategy, FileSystemBlobStrategy, FTPBlobDownloadStrategy

public interface BlobDownloadStrategy

Represents a strategy of downloading a file/stream from some remote


Method Summary
 void deleteFile(ActiveMQBlobMessage message)
           
 java.io.InputStream getInputStream(ActiveMQBlobMessage message)
           
 

Method Detail

getInputStream

java.io.InputStream getInputStream(ActiveMQBlobMessage message)
                                   throws java.io.IOException,
                                          javax.jms.JMSException
Throws:
java.io.IOException
javax.jms.JMSException

deleteFile

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


Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.