[
https://issues.apache.org/jira/browse/CONNECTORS-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14569877#comment-14569877
]
Karl Wright commented on CONNECTORS-1119:
-----------------------------------------
That's because the email notification connector makes no distinction at the
moment:
{code}
/** Notify of job stop.
*@param spec is the notification specification.
*/
@Override
public void notifyOfJobStop(Specification spec)
throws ManifoldCFException, ServiceInterruption {
sendMail(spec);
}
/** Notify of job end.
*@param spec is the notification specification.
*/
@Override
public void notifyOfJobEnd(Specification spec)
throws ManifoldCFException, ServiceInterruption {
sendMail(spec);
}
{code}
However, that's relatively easy to change.
Once again, what I need to understand is exactly WHAT different situations you
want different messages for. Then we can proceed.
> Notifications on job completion
> -------------------------------
>
> Key: CONNECTORS-1119
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1119
> Project: ManifoldCF
> Issue Type: Wish
> Reporter: colin
> Assignee: Karl Wright
> Fix For: ManifoldCF 1.9, ManifoldCF 2.1
>
>
> Currently the status of jobs can be checked via the rest API or the crawler
> ui.
> However there doesn't appear to be a way to send alerts based on jobs
> completing successfully or otherwise.
> Is there some way of adding an e-mail distribution I may have missed? or is
> it a matter of overriding the noteJobComplete method in the output connector?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)