terminate amqp_consume_message

41 views
Skip to first unread message

Martin Gäckler

unread,
Nov 19, 2021, 9:42:31 AM11/19/21
to rabbitmq...@googlegroups.com
Hi,

what is the best way to terminate amqp_consume_message? I want to
implement a graceful shutdown for my service. Currently it might occur,
that the receiving thread is blocked when consuming a message.
Although the main thread calls amqp_queue_unbind, amqp_connecton_close,
amqp_destroy_connection amqp_consume_message does not return.

Any ideas? Thanks in advance

Martin

--
WWW: http://www.gäckler.de
https://www.gaeckler.at
S-Mail: Kirchenstr. 26, D-81675 Muenchen
S-Mail ab 28.12.2018: Hopfengasse 15/13, A-4020 Linz

Reply all
Reply to author
Forward
0 new messages