The message header section carries standard delivery details about the transfer of a message through the AMQP network.
More...
#include <amqp_header.hpp>
|
bool | Durable {false} |
| True if the message is considered "durable".
|
|
std::uint8_t | Priority {4} |
| Priority of the message.
|
|
Nullable< std::chrono::milliseconds > | TimeToLive |
| If present, defines the time to live for the message.
|
|
bool | IsFirstAcquirer {false} |
| If true, the message has not been acquired by any other link.
|
|
std::uint32_t | DeliveryCount {0} |
| The number of unsuccessful previous attempts to deliver this message.
|
|
◆ Deserialize()
MessageHeader Azure::Core::Amqp::Models::MessageHeader::Deserialize |
( |
std::uint8_t const * |
data, |
|
|
size_t |
size |
|
) |
| |
|
static |
◆ GetSerializedSize()
size_t Azure::Core::Amqp::Models::MessageHeader::GetSerializedSize |
( |
MessageHeader const & |
messageHeader | ) |
|
|
static |
◆ operator==()
bool Azure::Core::Amqp::Models::MessageHeader::operator== |
( |
MessageHeader const & |
that | ) |
const |
|
noexcept |
- Parameters
-
that | - the AMQP Message Header to compare to. |
- Returns
- true if the two headers are equal, false otherwise.
◆ Serialize()
std::vector< uint8_t > Azure::Core::Amqp::Models::MessageHeader::Serialize |
( |
MessageHeader const & |
messageHeader | ) |
|
|
static |
◆ ShouldSerialize()
bool Azure::Core::Amqp::Models::MessageHeader::ShouldSerialize |
( |
| ) |
const |
|
noexcept |
Message headers can be serialize if their values are different from the defined default values as specified in the AMQP spec.
◆ DeliveryCount
std::uint32_t Azure::Core::Amqp::Models::MessageHeader::DeliveryCount {0} |
◆ Durable
bool Azure::Core::Amqp::Models::MessageHeader::Durable {false} |
◆ IsFirstAcquirer
bool Azure::Core::Amqp::Models::MessageHeader::IsFirstAcquirer {false} |
◆ Priority
std::uint8_t Azure::Core::Amqp::Models::MessageHeader::Priority {4} |
◆ TimeToLive
Nullable<std::chrono::milliseconds> Azure::Core::Amqp::Models::MessageHeader::TimeToLive |
The documentation for this struct was generated from the following files: