8#include <userver/utils/fast_pimpl.hpp>
10#include <userver/urabbitmq/broker_interface.hpp>
12USERVER_NAMESPACE_BEGIN
30 Channel(ConnectionPtr&& channel);
33 Channel(Channel&& other)
noexcept;
35 void Publish(
const Exchange& exchange,
const std::string& routing_key,
37 engine::Deadline deadline)
override;
39 void Publish(
const Exchange& exchange,
const std::string& routing_key,
40 const std::string& message, engine::Deadline deadline)
override {
45 utils::FastPimpl<ConnectionPtr, 32, 8> impl_;
61 ReliableChannel(ConnectionPtr&& channel);
64 ReliableChannel(ReliableChannel&& other)
noexcept;
68 engine::Deadline deadline)
override;
71 const std::string& message,
72 engine::Deadline deadline)
override {
78 utils::FastPimpl<ConnectionPtr, 32, 8> impl_;