activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BenXS <>
Subject How to shutdown + restart ActiveMQ from cmdline (!)?
Date Thu, 19 Aug 2010 07:45:54 GMT

Assume I have a running ActiveMQ Messagebroker (under WinXP).

Currently I stop/shutdown the server by pressing Ctrl+C in the CommandPrompt
Terminal window.
Then ActiveMQ stops/shutdown.

I am searching now for a way to stop/shutdown the server DIRECTLY from the
command line e.g. from a batch script WITHOUT having manually to press

Is there such a way?

I can imagine that I can enter at the command line something like

activemq.bat /stop


java -jar run.jar --restart

which des the job for me

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message