I am writing an automated test to test a consumer. So far I did not need to include a header when publishing messages but now I do. And it seems like its lacking documentati
cant say where i get this, but i do it like:
props = pika.BasicProperties({'headers': {'key': 'value'}}) channel.basic_publish(exchange=self.exchange, routing_key=self.routing_key, body=message, properties = props)