8#include <userver/components/loggable_component_base.hpp>
10USERVER_NAMESPACE_BEGIN
45 ConsumerComponentBase(
const components::ComponentConfig& config,
47 ~ConsumerComponentBase()
override;
52 void OnAllComponentsLoaded()
final;
54 void OnAllComponentsAreStopping()
final;
67 virtual void Process(std::string message) = 0;
72 std::unique_ptr<Impl> impl_;
80inline constexpr bool kHasValidate<urabbitmq::ConsumerComponentBase> =
true;