Change urabbitmq::ConsumerComponentBase::Process signature so that it could receive at least headers and routing key
Currently it has signature:
void Process(std::string message);
thus we lack queue name, headers and routing key and it is very inconvenient.
I'd suggest adding another Process override, which takes more data from consumer and by-default just calls Process(std::string).
This way we could change consumer implementation to call the newly added method without breaking anyone
agree
I'd suggest adding another
Processoverride, which takes more data from consumer and by-default just callsProcess(std::string). This way we could change consumer implementation to call the newly added method without breaking anyone
Fixed in https://github.com/userver-framework/userver/commit/7da063b1756575d130707183b056c3d8721f92c7
Many thanks for the repprt and for the PR!