[ 
https://issues.apache.org/jira/browse/SYNCOPE-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13736867#comment-13736867
 ] 

Guido Wimmel commented on SYNCOPE-411:
--------------------------------------

A possible way to implement this could be to use the TaskExec objects added to 
a notification task (provided that the trace level is set sufficiently). On a 
failed notification, one can set NotificationTask.executed=false if the number 
of TaskExec objects with status==NOT_SENT is less than the maximum number of 
retries.

If this is considered an appropriate solution, I could suggest a corresponding 
patch.
                
> Perform retries on failed notifications
> ---------------------------------------
>
>                 Key: SYNCOPE-411
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-411
>             Project: Syncope
>          Issue Type: Improvement
>          Components: console, core
>    Affects Versions: 1.1.3
>            Reporter: Guido Wimmel
>            Priority: Minor
>
> Currently, if an Email notification cannot be sent (e.g. because the SMTP 
> server temporarily does not respond), the notification task is marked as 
> NOT_SENT and as executed (class NotificationJob). It could be a useful 
> improvement to extend Apache Syncope such that failed email notifications are 
> retried a configurable number of times.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to