Home » activemq-parent-5.3.1-source-release » org.apache » activemq » blob » [javadoc | source]
org.apache.activemq.blob
public class: DefaultBlobUploadStrategy [javadoc | source]
java.lang.Object
   org.apache.activemq.blob.DefaultBlobUploadStrategy

All Implemented Interfaces:
    BlobUploadStrategy

A default implementation of BlobUploadStrategy which uses the URL class to upload files or streams to a remote URL
Constructor:
 public DefaultBlobUploadStrategy(BlobTransferPolicy transferPolicy) 
Method from org.apache.activemq.blob.DefaultBlobUploadStrategy Summary:
createUploadURL,   deleteFile,   uploadFile,   uploadStream
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.blob.DefaultBlobUploadStrategy Detail:
 protected URL createUploadURL(ActiveMQBlobMessage message) throws JMSException, MalformedURLException 
 public  void deleteFile(ActiveMQBlobMessage message) throws IOException, JMSException 
 public URL uploadFile(ActiveMQBlobMessage message,
    File file) throws JMSException, IOException 
 public URL uploadStream(ActiveMQBlobMessage message,
    InputStream fis) throws JMSException, IOException