Package org.apache.activemq.blob
Interface BlobUploadStrategy
-
- All Known Implementing Classes:
DefaultBlobUploadStrategy
,FileSystemBlobStrategy
public interface BlobUploadStrategy
Represents a strategy of uploading a file/stream to some remote
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
-