Hi,

Roger Hoover wrote:
> 
> We need a convenient way to launch, shutdown, or restart the
> daemons and supervise them (restart them if they die).  We also want to
> start multiple copies of daemon process, all listening to the same queue.
> 
> Can anyone recommend any free/open-source tools for doing this?  AFAIK,
> with
> Linux init scripts, it always assumes a single daemon process and it may
> not
> automatically restart them if they die.
> 
The standard thing to do is to write a process that fork()'s as many times
as the number of childs you want. Each child process can then make a STOMP
connection and listen to the queue. This is for example how Apache works.
You can write e.g. a cron script that checks if the parent process is
running, and restart if necessary. 

Regards,

Pieter
-- 
View this message in context: 
http://www.nabble.com/Daemon-process-manager-tf4510444s2354.html#a12875458
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to