org.apache.activemq.blob
Interface BlobUploadStrategy

All Known Implementing Classes:
DefaultBlobUploadStrategy, FileSystemBlobStrategy, FTPBlobUploadStrategy

public interface BlobUploadStrategy

Represents a strategy of uploading a file/stream to some remote


Method Summary
 URL uploadFile(ActiveMQBlobMessage message, File file)
           
 URL uploadStream(ActiveMQBlobMessage message, InputStream in)
           
 

Method Detail

uploadFile

URL uploadFile(ActiveMQBlobMessage message,
               File file)
               throws JMSException,
                      IOException
Throws:
JMSException
IOException

uploadStream

URL uploadStream(ActiveMQBlobMessage message,
                 InputStream in)
                 throws JMSException,
                        IOException
Throws:
JMSException
IOException


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