Re: Taking James offline

2012-05-10 Thread Eric Charles
Hi Phil, James is started with a spring context (see [1]). You could start with your own class and launch there your watchdog thread (it can be opening a socket to the downstream mta). Once the mta down event is generated, you could call stop() and also hook in the JamesServerApplicationCont

Taking James offline

2012-05-08 Thread Phil Spencer
I have a James Server instance that sits between two other MTAs and all is working very nicely However I now need to take the James server offline if the downstream MTA is offline (the upstream server will then look for alternate means of delivery) I could just create an external watchdog proce