Would it be possible to use the Spring Exception-handling mechanism inside the ServiceMix configuration in order to configure specific Exception handlers for each component? I haven't tried it, but it seems like it might be an option if ServiceMix doesn't catch all Exceptions and handle them itself. Then again, this seems like it would break the JBI container-component contract.
Tim. -----Original Message----- From: Marc Binck [mailto:[EMAIL PROTECTED] Sent: Thursday, July 27, 2006 5:56 AM To: [email protected] Subject: RE: Notification support in ServiceMix log4j has an SMTP appender that you could use for this. Check it out at http://logging.apache.org/log4j/docs/api/org/apache/log4j/net/SMTPAppend er.h tml. Marc -----Original Message----- From: speed [mailto:[EMAIL PROTECTED] Sent: 27 July 2006 10:48 To: [email protected] Subject: Notification support in ServiceMix It would be very useful to have a notification support to alert an admin via e-mail in case a component fails to carry out a certain task. For example, FTPPoller fails to connect to a ftp server than all it does is to log the error on stdout, is there a way to catch any or certain exceptions and e-mail them to folks who would like to know about it. Will truly appreciate your suggestions. speed -- View this message in context: http://www.nabble.com/Notification-support-in-ServiceMix-tf2008406.html# a551 7481 Sent from the ServiceMix - User forum at Nabble.com.
