libbmq  a5f8a06ba1d16cb5a65643e1fa7f1a1d6aadef40
bmqt_queueoptions.h File Reference

Provide a value-semantic type for options related to a queue. More...

#include <bmqt_subscription.h>
#include <bsl_iosfwd.h>
#include <bsl_optional.h>
#include <bsl_unordered_map.h>
#include <bsl_vector.h>
#include <bslma_allocator.h>
#include <bslma_usesbslmaallocator.h>
#include <bslmf_nestedtraitdeclaration.h>

Go to the source code of this file.

Classes

class  BloombergLP::bmqt::QueueOptions
 Value-semantic type for options related to a queue. More...
 

Namespaces

 BloombergLP
 
 BloombergLP::bmqt
 

Functions

bool BloombergLP::bmqt::operator== (const QueueOptions &lhs, const QueueOptions &rhs)
 
bool BloombergLP::bmqt::operator!= (const QueueOptions &lhs, const QueueOptions &rhs)
 
bsl::ostream & BloombergLP::bmqt::operator<< (bsl::ostream &stream, const QueueOptions &rhs)
 

Detailed Description

bmqt::QueueOptions provides a value-semantic type, QueueOptions, which is used to specify parameters for a queue.

The following parameters are supported:

  • maxUnconfirmedMessages: Maximum number of outstanding messages that can be sent by the broker without being confirmed.
  • maxUnconfirmedBytes: Maximum accumulated bytes of all outstanding messages that can be sent by the broker without being confirmed.
  • consumerPriority: Priority of a consumer with respect to delivery of messages.
  • suspendsOnBadHostHealth: Sets whether the queue should suspend operation when the host machine is unhealthy.