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
Modifier and TypeMethodDescriptionuploadFile
(ActiveMQBlobMessage message, File file) uploadStream
(ActiveMQBlobMessage message, InputStream in)
-
Method Details
-
uploadFile
- Throws:
jakarta.jms.JMSException
IOException
-
uploadStream
URL uploadStream(ActiveMQBlobMessage message, InputStream in) throws jakarta.jms.JMSException, IOException - Throws:
jakarta.jms.JMSException
IOException
-