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

#include <userver/urabbitmq/typedefs.hpp>

Detailed Description

Structure holding an AMQP message body along with some of its metadata fields. This struct is used to pass messages to the end user, hiding the actual AMQP message object implementation.

Definition at line 69 of file typedefs.hpp.

Classes

struct  Metadata
 

Public Attributes

std::string message
 
Metadata metadata
 
std::optional< std::string > reply_to {}
 
std::optional< std::string > correlation_id {}
 

Member Data Documentation

◆ correlation_id

std::optional<std::string> urabbitmq::ConsumedMessage::correlation_id {}

Definition at line 77 of file typedefs.hpp.

◆ message

std::string urabbitmq::ConsumedMessage::message

Definition at line 74 of file typedefs.hpp.

◆ metadata

Metadata urabbitmq::ConsumedMessage::metadata

Definition at line 75 of file typedefs.hpp.

◆ reply_to

std::optional<std::string> urabbitmq::ConsumedMessage::reply_to {}

Definition at line 76 of file typedefs.hpp.


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