RMQ - RabbitMQ C++ Library
Public Member Functions | List of all members
BloombergLP::rmqp::TopologyUpdate Class Referenceabstract

An interface providing a manipulatable RabbitMQ topology update structure. More...

#include <rmqp_topologyupdate.h>

Inheritance diagram for BloombergLP::rmqp::TopologyUpdate:
Inheritance graph
[legend]

Public Member Functions

virtual void bind (const rmqt::ExchangeHandle &exchange, const rmqt::QueueHandle &queue, const bsl::string &bindingKey, const rmqt::FieldTable &args=rmqt::FieldTable())=0
 
virtual void unbind (const rmqt::ExchangeHandle &exchange, const rmqt::QueueHandle &queue, const bsl::string &bindingKey, const rmqt::FieldTable &args=rmqt::FieldTable())=0
 
virtual const rmqt::TopologyUpdatetopologyUpdate () const =0
 Get a readonly copy of stored topology update. More...
 

Detailed Description

An interface providing a manipulatable RabbitMQ topology update structure.

Represents the RabbitMQ topology update, allowing declaring of Bindings and Unbindings. This object is passed to either rmqa::Producer or rmqa::Consumer updateTopology method

Member Function Documentation

◆ bind()

virtual void BloombergLP::rmqp::TopologyUpdate::bind ( const rmqt::ExchangeHandle &  exchange,
const rmqt::QueueHandle &  queue,
const bsl::string &  bindingKey,
const rmqt::FieldTable args = rmqt::FieldTable() 
)
pure virtual

Declare a binding between queue and exchange with the given bindingKey.

This binding is declared to the broker, and if successful is applied to the topology declared on every reconnection

Implemented in BloombergLP::rmqa::TopologyUpdate.

◆ topologyUpdate()

virtual const rmqt::TopologyUpdate & BloombergLP::rmqp::TopologyUpdate::topologyUpdate ( ) const
pure virtual

Get a readonly copy of stored topology update.

This is used internally by rmqamqp to send the topology update to the broker

Implemented in BloombergLP::rmqa::TopologyUpdate.

◆ unbind()

virtual void BloombergLP::rmqp::TopologyUpdate::unbind ( const rmqt::ExchangeHandle &  exchange,
const rmqt::QueueHandle &  queue,
const bsl::string &  bindingKey,
const rmqt::FieldTable args = rmqt::FieldTable() 
)
pure virtual

Declare an unbinding between queue and exchange with the given bindingKey.

This unbinding is declared to the broker, and if successful is applied to the topology declared on every reconnection

Implemented in BloombergLP::rmqa::TopologyUpdate.


The documentation for this class was generated from the following files: