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
 java.net.URL uploadFile(ActiveMQBlobMessage message, java.io.File file)
           
 java.net.URL uploadStream(ActiveMQBlobMessage message, java.io.InputStream in)
           
 

Method Detail

uploadFile

java.net.URL uploadFile(ActiveMQBlobMessage message,
                        java.io.File file)
                        throws javax.jms.JMSException,
                               java.io.IOException
Throws:
javax.jms.JMSException
java.io.IOException

uploadStream

java.net.URL uploadStream(ActiveMQBlobMessage message,
                          java.io.InputStream in)
                          throws javax.jms.JMSException,
                                 java.io.IOException
Throws:
javax.jms.JMSException
java.io.IOException


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