We have a standalone java application that does some background processing on a Debian machine. The work with which he must work is sent via RabbitMQ messages.
When a Java application needs to be updated, we need to stop it (kill). But we must be sure that none of the users are currently processing the message. What, in your experience, is the best way to achieve this?
We tried to send a "SHUTDOWN" message to the consumer, but we cannot close the queue or channel ?! It freezes the app! Or is there another solution where we could, for example, disconnect an application without executing the kill command on Linux?
Thank you to share your experience with you.
Hi
Toni van de voorde
source share