public class DefaultBlobDownloadStrategy extends DefaultStrategy implements BlobDownloadStrategy
BlobDownloadStrategy which uses the URL
class to download files or streams from a remote URLtransferPolicy| Constructor and Description |
|---|
DefaultBlobDownloadStrategy(BlobTransferPolicy transferPolicy) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteFile(ActiveMQBlobMessage message) |
java.io.InputStream |
getInputStream(ActiveMQBlobMessage message) |
createMessageURL, isSuccessfulCodepublic DefaultBlobDownloadStrategy(BlobTransferPolicy transferPolicy)
public java.io.InputStream getInputStream(ActiveMQBlobMessage message) throws java.io.IOException, javax.jms.JMSException
getInputStream in interface BlobDownloadStrategyjava.io.IOExceptionjavax.jms.JMSExceptionpublic void deleteFile(ActiveMQBlobMessage message) throws java.io.IOException, javax.jms.JMSException
deleteFile in interface BlobDownloadStrategyjava.io.IOExceptionjavax.jms.JMSExceptionCopyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.