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;
36 const Exchange& exchange,
37 const std::string& routing_key,
38 const std::string& message,
40 engine::Deadline deadline
44 const Exchange& exchange,
45 const std::string& routing_key,
46 const std::string& message,
47 engine::Deadline deadline
52 std::string
Get(
const Queue& queue,
utils::Flags<Queue::
Flags> flags, engine::Deadline deadline)
override;
55 utils::FastPimpl<ConnectionPtr, 32, 8> impl_;
71 ReliableChannel(ConnectionPtr&& channel);
74 ReliableChannel(ReliableChannel&& other)
noexcept;
77 const Exchange& exchange,
78 const std::string& routing_key,
79 const std::string& message,
81 engine::Deadline deadline
85 const Exchange& exchange,
86 const std::string& routing_key,
87 const std::string& message,
88 engine::Deadline deadline
94 utils::FastPimpl<ConnectionPtr, 32, 8> impl_;