Package org.apache.activemq.blob
Class DefaultStrategy
- java.lang.Object
-
- org.apache.activemq.blob.DefaultStrategy
-
- Direct Known Subclasses:
DefaultBlobDownloadStrategy,DefaultBlobUploadStrategy
public class DefaultStrategy extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected BlobTransferPolicytransferPolicy
-
Constructor Summary
Constructors Constructor Description DefaultStrategy(BlobTransferPolicy transferPolicy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected URLcreateMessageURL(ActiveMQBlobMessage message)protected booleanisSuccessfulCode(int responseCode)
-
-
-
Field Detail
-
transferPolicy
protected BlobTransferPolicy transferPolicy
-
-
Constructor Detail
-
DefaultStrategy
public DefaultStrategy(BlobTransferPolicy transferPolicy)
-
-
Method Detail
-
isSuccessfulCode
protected boolean isSuccessfulCode(int responseCode)
-
createMessageURL
protected URL createMessageURL(ActiveMQBlobMessage message) throws JMSException, MalformedURLException
- Throws:
JMSExceptionMalformedURLException
-
-