|
RMQ - RabbitMQ C++ Library
|
An interface for ConsumerTracing class. More...
#include <rmqp_consumertracing.h>
Classes | |
| class | Context |
Public Member Functions | |
| virtual bsl::shared_ptr< Context > | create (const rmqp::MessageGuard &messageGuard, const bsl::string &queueName, const bsl::shared_ptr< const rmqt::Endpoint > &endpoint) const =0 |
| create a (tracing) context with relevant pieces of the consumer context. More... | |
An interface for ConsumerTracing class.
A ConsumerTracing class implements the create method which will create a Tracing Context designed to span the lifetime of the message consumption process, the create method will be invoked from the same thread that the consumer is called back with. The context will be held until the message has been 'processed' ack/nack'd
|
pure virtual |
create a (tracing) context with relevant pieces of the consumer context.
| messageGuard | read only reference to the messageGuard (provides access to the message/properties). |
| queueName | the name of the queue the current consumer is consuming from. |
| endpoint | the server endpoint details the current consumer is connected to. |