#include <userver/urabbitmq/broker_interface.hpp>
Reliable publisher interface for the broker. This class is merely an interface for convenience and you are not expected to use it directly (use Client/ReliableChannel instead).
Definition at line 149 of file broker_interface.hpp.
Inheritance diagram for urabbitmq::IReliableChannelInterface:Public Member Functions | |
| virtual void | PublishReliable (const Exchange &exchange, const std::string &routing_key, const std::string &message, MessageType type, engine::Deadline deadline)=0 |
| Publish a message to an exchange and await confirmation from the broker. | |
| virtual void | PublishReliable (const Exchange &exchange, const std::string &routing_key, const std::string &message, engine::Deadline deadline)=0 |
| overload of PublishReliable | |
| virtual void | PublishReliable (const Exchange &exchange, const std::string &routing_key, const Envelope &envelope, engine::Deadline deadline)=0 |
| overload of PublishReliable | |
|
pure virtual |
overload of PublishReliable
Implemented in urabbitmq::Client, and urabbitmq::ReliableChannel.
|
pure virtual |
overload of PublishReliable
Implemented in urabbitmq::Client, and urabbitmq::ReliableChannel.
|
pure virtual |
Publish a message to an exchange and await confirmation from the broker.
You have to supply the name of the exchange and a routing key. RabbitMQ will then try to send the message to one or more queues. By default, unroutable messages are silently discarded
| exchange | the exchange to publish to |
| routing_key | the routing key |
| message | the message to send |
| type | see MessageType |
| deadline | execution deadline |
Implemented in urabbitmq::Client, and urabbitmq::ReliableChannel.