libbmq b6028b29b733bc7541593d2905a5f79a9f0192fc
Loading...
Searching...
No Matches
bmqa_messageproperties.h File Reference

Provide a VST representing message properties. More...

#include <bmqt_propertytype.h>
#include <bmqt_resultcode.h>
#include <bdlbb_blob.h>
#include <bsl_cstdint.h>
#include <bsl_ostream.h>
#include <bsl_string.h>
#include <bsl_vector.h>
#include <bslma_allocator.h>
#include <bslma_usesbslmaallocator.h>
#include <bslmf_nestedtraitdeclaration.h>
#include <bsls_alignedbuffer.h>
#include <bsls_types.h>

Go to the source code of this file.

Classes

class  BloombergLP::bmqa::MessageProperties
 Provide a VST representing message properties. More...
 
class  BloombergLP::bmqa::MessagePropertiesIterator
 

Namespaces

namespace  BloombergLP
 
namespace  BloombergLP::bmqa
 

Functions

bsl::ostream & BloombergLP::bmqa::operator<< (bsl::ostream &stream, const MessageProperties &rhs)
 

Detailed Description

bmqa::MessageProperties provides a VST representing message properties. Message properties are a collection of name-value pairs that producer can associate with a message, and consumer can retrieve from the corresponding message. In order to keep their usage flexible, no schema is enforced for the message properties, and their format (names and data types) should be negotiated by producers and consumers. Message properties can be used for routing, pipelining or filtering messages within the application. It can be efficient to specify such message attributes in the properties instead of the message payload, because application does not have to decode entire payload to retrieve these attributes. bmqa::MessagePropertiesIterator provides a mechanism to iterate over all the properties of a bmqa::MessageProperties object.

Restrictions on Property Names

Restrictions on Property Values

See also
bmqt::PropertyType