18 #ifndef _ACTIVEMQ_COMMANDS_ACTIVEMQBLOBMESSAGE_H_ 19 #define _ACTIVEMQ_COMMANDS_ACTIVEMQBLOBMESSAGE_H_ 35 std::string remoteBlobUrl;
42 static const unsigned char ID_ACTIVEMQBLOBMESSAGE = 29;
55 virtual unsigned char getDataStructureType()
const;
61 virtual std::string toString()
const;
81 return this->remoteBlobUrl;
89 this->remoteBlobUrl = remoteURL;
97 return this->mimeType;
105 this->mimeType = mimeType;
129 return this->deletedByBroker;
137 this->deletedByBroker = value;
static const std::string BINARY_MIME_TYPE
Definition: ActiveMQBlobMessage.h:43
std::string getMimeType() const
Get the Mime Type of the Blob.
Definition: ActiveMQBlobMessage.h:96
std::string getRemoteBlobUrl() const
Get the Remote URL of the Blob.
Definition: ActiveMQBlobMessage.h:80
Root of all messages.
Definition: Message.h:88
#define AMQCPP_API
Definition: Config.h:30
void setMimeType(const std::string &mimeType)
Set the Mime Type of the Blob.
Definition: ActiveMQBlobMessage.h:104
Definition: DataStructure.h:27
void setRemoteBlobUrl(const std::string &remoteURL)
Set the Remote URL of the Blob.
Definition: ActiveMQBlobMessage.h:88
Definition: ActiveMQBlobMessage.h:30
void setReadOnlyBody(bool value)
Set the Read Only State of the Message Content.
Definition: Message.h:270
virtual cms::Message * clone() const
Clone this message exactly, returns a new instance that the caller is required to delete...
Definition: ActiveMQBlobMessage.h:67
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
void setDeletedByBroker(bool value)
Sets the Deleted By Broker flag.
Definition: ActiveMQBlobMessage.h:136
virtual ~ActiveMQBlobMessage()
Definition: ActiveMQBlobMessage.h:53
void setName(const std::string &name)
Sets the Name of the Blob.
Definition: ActiveMQBlobMessage.h:120
std::string getName() const
Gets the Name of the Blob.
Definition: ActiveMQBlobMessage.h:112
Definition: ActiveMQMessageTemplate.h:41
bool isDeletedByBroker() const
Gets if this Blob is deleted by the Broker.
Definition: ActiveMQBlobMessage.h:128
void setReadOnlyProperties(bool value)
Set the Read Only State of the Message Properties.
Definition: Message.h:254