[rabbitmq-discuss] An easy cross-platform way to start RabbitMQ programatically?

Matthias Radestock matthias at rabbitmq.com
Tue Jul 19 16:57:46 BST 2011


On 19/07/11 16:42, Michael Klishin wrote:
> 2011/7/19 Matthias Radestock <matthias at rabbitmq.com
> <mailto:matthias at rabbitmq.com>>
>
>     Instead of shutting down rabbit completely, you could just
>     stop/start the rabbit app (with 'rabbitmqctl {start,stop}_app').
>
>
> I just tried it and it looks like stop_app (as seen by AMQP clients) is
> equivalent to kill or any other forced shutdown.

Really? It should be a graceful shutdown. What difference are you seeing 
compared to 'rabbitmqctl stop'?

Btw, another thing you can do is gracefully close individual connections 
with 'rabbitmqctl close_connection <connection_pid> "goodbye"'.

Matthias.


More information about the rabbitmq-discuss mailing list