Tuesday, 8 October 2019

pika add headers to nack response

I am modifying pika headers using

properties.headers = {
     'myheader': myheader
}

But I am acking and nacking with the delivery_tag

channel.basic_nck(delivery_tag=delivery_tag, requeue=False)

How can I pass the update properties with the headers to the ack and nack response functions? Or what is the pika way of doing this?



from pika add headers to nack response

No comments:

Post a Comment