org.apache.activemq.blob
Class DefaultStrategy

java.lang.Object
  extended by org.apache.activemq.blob.DefaultStrategy
Direct Known Subclasses:
DefaultBlobDownloadStrategy, DefaultBlobUploadStrategy

public class DefaultStrategy
extends java.lang.Object


Field Summary
protected  BlobTransferPolicy transferPolicy
           
 
Constructor Summary
DefaultStrategy(BlobTransferPolicy transferPolicy)
           
 
Method Summary
protected  java.net.URL createMessageURL(ActiveMQBlobMessage message)
           
protected  boolean isSuccessfulCode(int responseCode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transferPolicy

protected BlobTransferPolicy transferPolicy
Constructor Detail

DefaultStrategy

public DefaultStrategy(BlobTransferPolicy transferPolicy)
Method Detail

isSuccessfulCode

protected boolean isSuccessfulCode(int responseCode)

createMessageURL

protected java.net.URL createMessageURL(ActiveMQBlobMessage message)
                                 throws javax.jms.JMSException,
                                        java.net.MalformedURLException
Throws:
javax.jms.JMSException
java.net.MalformedURLException


Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.