org.apache.activemq.blob
Class DefaultBlobDownloadStrategy

java.lang.Object
  extended by org.apache.activemq.blob.DefaultBlobDownloadStrategy
All Implemented Interfaces:
BlobDownloadStrategy

public class DefaultBlobDownloadStrategy
extends Object
implements BlobDownloadStrategy

A default implementation of BlobDownloadStrategy which uses the URL class to download files or streams from a remote URL


Constructor Summary
DefaultBlobDownloadStrategy()
           
 
Method Summary
 InputStream getInputStream(ActiveMQBlobMessage message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBlobDownloadStrategy

public DefaultBlobDownloadStrategy()
Method Detail

getInputStream

public InputStream getInputStream(ActiveMQBlobMessage message)
                           throws IOException,
                                  JMSException
Specified by:
getInputStream in interface BlobDownloadStrategy
Throws:
IOException
JMSException


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.