What I need is to keep the consumer alive and prevent the channel from closing during long-running message processing, while ensuring that the message gets acknowledged after processing is complete.
I'm trying to set a consumer timeout when creating a queue in RabbitMQ using the Kombu library, but it seems like no matter what I pass as an argument, the queue is created with the default value of 1800000, and the x-consumer-timeout doesn't take effect.
Here is the relevant part of my code:
Queue(**consumer_settings,I'm trying to set the x-consumer-timeout argument, but when I check the RabbitMQ management UI, the queue is created without applying the timeout value.
RabbitMQ Version: I'm running RabbitMQ 3.12.2, which supports x-consumer-timeout. Kombu Version: I'm using Kombu 5.4.0.
What am I missing? Why isn't the x-consumer-timeout being applied when the queue is created?
Thanks for the help :)