1 #ifndef QPID_FRAMING_MESSAGEPROPERTIES_H
2 #define QPID_FRAMING_MESSAGEPROPERTIES_H
41 uint64_t contentLength;
43 std::string correlationId;
45 std::string contentType;
46 std::string contentEncoding;
54 uint64_t _contentLength,
55 const Uuid& _messageId,
56 const std::string& _correlationId,
58 const std::string& _contentType,
59 const std::string& _contentEncoding,
60 const std::string& _userId,
61 const std::string& _appId,
63 contentLength(_contentLength),
64 messageId(_messageId),
65 correlationId(_correlationId),
67 contentType(_contentType),
68 contentEncoding(_contentEncoding),
71 applicationHeaders(_applicationHeaders),
#define QPID_COMMON_EXTERN
void encode(const qpid::types::Variant::Map &map, Message &message, const std::string &encoding=std::string())
Encodes a Variant::Map into a message.
A UUID is represented as a boost::array of 16 bytes.
MessageProperties(uint64_t _contentLength, const Uuid &_messageId, const std::string &_correlationId, const ReplyTo &_replyTo, const std::string &_contentType, const std::string &_contentEncoding, const std::string &_userId, const std::string &_appId, const FieldTable &_applicationHeaders)
std::ostream & operator<<(std::ostream &, const Buffer &)
This file was automatically generated from the AMQP specification.
Definitions and full declarations of all types used in AMQP messages.
A set of name-value pairs.
#define QPID_COMMON_CLASS_EXTERN
void decode(const Message &message, qpid::types::Variant::Map &map, const std::string &encoding=std::string())
Decodes message content into a Variant::Map.