RMQ - RabbitMQ C++ Library
Public Member Functions | Friends | List of all members
BloombergLP::rmqt::ExchangeBinding Class Reference

An AMQP exchange binding. More...

#include <rmqt_exchangebinding.h>

Inheritance diagram for BloombergLP::rmqt::ExchangeBinding:
Inheritance graph
[legend]
Collaboration diagram for BloombergLP::rmqt::ExchangeBinding:
Collaboration graph
[legend]

Public Member Functions

 ExchangeBinding (const ExchangeHandle &sourceExchange, const ExchangeHandle &destinationExchange, const bsl::string &bindingKey, const rmqt::FieldTable &args=rmqt::FieldTable())
 Exchange binding constructor. More...
 
const ExchangeHandle & sourceExchange () const
 
const ExchangeHandle & destinationExchange () const
 
const bsl::string & bindingKey () const
 
const rmqt::FieldTableargs () const
 

Friends

bsl::ostream & operator<< (bsl::ostream &os, const ExchangeBinding &queue)
 

Detailed Description

An AMQP exchange binding.

This class represents a binding between an exchange and a queue to be declared to the RabbitMQ broker.

Constructor & Destructor Documentation

◆ ExchangeBinding()

BloombergLP::rmqt::ExchangeBinding::ExchangeBinding ( const ExchangeHandle &  sourceExchange,
const ExchangeHandle &  destinationExchange,
const bsl::string &  bindingKey,
const rmqt::FieldTable args = rmqt::FieldTable() 
)
inline

Exchange binding constructor.

Parameters
sourceExchangeSource exchange
destinationExchangeDestination exchange
bindingKeyBinding key
argsOptional binding arguments

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