userver: urabbitmq::QueueDeclareResponse Struct Reference
Loading...
Searching...
No Matches
urabbitmq::QueueDeclareResponse Struct Reference

#include <userver/urabbitmq/typedefs.hpp>

Detailed Description

Result of a DeclareQueue call, mirroring the broker's queue.declare-ok response.

Definition at line 77 of file typedefs.hpp.

Public Attributes

std::string name
 name of the declared queue (useful for server-named queues)
std::uint32_t message_count {0}
 number of messages ready for delivery in the queue at the time of the reply
std::uint32_t consumer_count {0}
 number of consumers subscribed to the queue at the time of the reply

Member Data Documentation

◆ consumer_count

std::uint32_t urabbitmq::QueueDeclareResponse::consumer_count {0}

number of consumers subscribed to the queue at the time of the reply

Definition at line 83 of file typedefs.hpp.

◆ message_count

std::uint32_t urabbitmq::QueueDeclareResponse::message_count {0}

number of messages ready for delivery in the queue at the time of the reply

Definition at line 81 of file typedefs.hpp.

◆ name

std::string urabbitmq::QueueDeclareResponse::name

name of the declared queue (useful for server-named queues)

Definition at line 79 of file typedefs.hpp.


The documentation for this struct was generated from the following file: