Rejected Data Objects¶
Rejected data objects
-
class
rejected.data.Measurement[source]¶ Common Measurement Object that provides common methods for collecting and exposes measurement data that is submitted in
rejected.process.Processandrejected.consumer.Consumerfor submission to statsd or influxdb.Attributes countersCounters that are affected by decr()andincr()tagsTag key/value pairs for use with InfluxDB valuesNumeric values such as integers, durations, and such. New in version 3.13.0.
-
class
rejected.data.Message(connection, channel, method, properties, body, returned=False)[source]¶ Class for containing all the attributes about a message object creating a flatter, move convenient way to access the data while supporting the legacy methods that were previously in place in rejected < 2.0
Attributes bodyThe AMQP message body connectionThe name of the connection that the message was received on. channelThe channel that the message was was received on. consumer_tagThe consumer tag registered with RabbitMQ that identifies which consumer registered to receive this message. delivery_tagThe delivery tag that represents the deliver of this message with RabbitMQ. exchangeThe exchange the message was published to methodThe pika.spec.Basic.Deliverorpika.spec.Basic.Returnobject that represents how the message was received by rejected.propertiesThe BasicPropertiesobject that represents the message’s AMQP properties.redeliveredA flag that indicates the message was previously delivered by RabbitMQ. returnedA flag that indicates the message was returned by RabbitMQ. routing_keyThe routing key that was used to deliver the message.
-
class
rejected.data.Properties(properties=None)[source]¶ A class that represents all of the field attributes of AMQP’s
Basic.Properties.Attributes app_idCreating application id content_typeMIME content type content_encodingMIME content encoding correlation_idApplication correlation identifier delivery_modeNon-persistent (1) or persistent (2) expirationMessage expiration specification headersMessage header field table message_idApplication message identifier priorityMessage priority, 0 to 9 reply_toAddress to reply to timestampMessage timestamp typeMessage type name user_idCreating user id