activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BenXS <bxsto...@yahoo.co.uk>
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
CTRL+C

Is there such a way?

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

activemq.bat /stop

or

java -jar run.jar --restart

which des the job for me

Ben
-- 
View this message in context: http://old.nabble.com/How-to-shutdown-%2B-restart-ActiveMQ-from-cmdline-%28%21%29--tp29479341p29479341.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message