18#ifndef _ACTIVEMQ_COMMANDS_ACTIVEMQBLOBMESSAGE_H_
19#define _ACTIVEMQ_COMMANDS_ACTIVEMQBLOBMESSAGE_H_
33 std::string remoteBlobUrl;
45 ActiveMQBlobMessage(
const ActiveMQBlobMessage&);
46 ActiveMQBlobMessage& operator=(
const ActiveMQBlobMessage&);
75 return this->remoteBlobUrl;
83 this->remoteBlobUrl = remoteURL;
91 return this->mimeType;
99 this->mimeType = mimeType;
123 return this->deletedByBroker;
131 this->deletedByBroker = value;
#define AMQCPP_API
Definition Config.h:30
virtual void copyDataStructure(const DataStructure *src)
Copy the contents of the passed object into this objects members, overwriting any existing data.
bool isDeletedByBroker() const
Gets if this Blob is deleted by the Broker.
Definition ActiveMQBlobMessage.h:122
static const std::string BINARY_MIME_TYPE
Definition ActiveMQBlobMessage.h:41
virtual cms::Message * clone() const
Clone this message exactly, returns a new instance that the caller is required to delete.
virtual ActiveMQBlobMessage * cloneDataStructure() const
Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of ...
virtual std::string toString() const
Returns a string containing the information for this DataStructure such as its type and value of its ...
std::string getName() const
Gets the Name of the Blob.
Definition ActiveMQBlobMessage.h:106
void setRemoteBlobUrl(const std::string &remoteURL)
Set the Remote URL of the Blob.
Definition ActiveMQBlobMessage.h:82
static const unsigned char ID_ACTIVEMQBLOBMESSAGE
Definition ActiveMQBlobMessage.h:40
void setMimeType(const std::string &mimeType)
Set the Mime Type of the Blob.
Definition ActiveMQBlobMessage.h:98
virtual unsigned char getDataStructureType() const
Get the DataStructure Type as defined in CommandTypes.h.
virtual ~ActiveMQBlobMessage()
Definition ActiveMQBlobMessage.h:52
void setDeletedByBroker(bool value)
Sets the Deleted By Broker flag.
Definition ActiveMQBlobMessage.h:130
void setName(const std::string &name)
Sets the Name of the Blob.
Definition ActiveMQBlobMessage.h:114
std::string getRemoteBlobUrl() const
Get the Remote URL of the Blob.
Definition ActiveMQBlobMessage.h:74
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
std::string getMimeType() const
Get the Mime Type of the Blob.
Definition ActiveMQBlobMessage.h:90
ActiveMQMessageTemplate()
Definition ActiveMQMessageTemplate.h:48
Definition DataStructure.h:27
Root of all messages.
Definition Message.h:88
Definition ActiveMQBlobMessage.h:28
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24