[daisy] Option to disable email notifications
Bruno Dumon
bruno at outerthought.org
Fri Jul 7 04:15:23 CDT 2006
Hi,
For the change to the new document ID format in Daisy 2.0, I've written
a little tool that can update links in existing documents to the new
format (an optional conversion, since the existing document IDs without
namespaces will still work too).
Since on large repositories this could lead to a big number of updates,
it might be useful to be able to disable the sending of e-mail
notifications temporarily.
For this I first thought of adding an enabled/disabled flag in the
configuration of the emailnotifier component (in myconfig.xml). While
disabled, the emailnotifier would ignore all JMS events and don't send
any mails out. This will then of course apply to all change events, not
only those caused by the e.g. the document ID convertor tool.
To make it more selective, we could also allow to filter the events
based upon who (which user) did the update. So that would allow to use a
specific user for the convertor tool, and updates made by that user
would be ignored by the email notifier. This is just a little bit more
work to implement, but would be useable for ignoring other regular
automated updates too.
WDYT? Any other ideas?
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org bruno at apache.org
More information about the daisy
mailing list