[
https://issues.apache.org/jira/browse/SLING-6522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated SLING-6522:
-----------------------------------
Summary: Refactor/Improve error handling of InstallTasks (was:
Refactor/Improve error handling of InstallTaskFactorys)
> Refactor/Improve error handling of InstallTasks
> -----------------------------------------------
>
> Key: SLING-6522
> URL: https://issues.apache.org/jira/browse/SLING-6522
> Project: Sling
> Issue Type: Improvement
> Components: Installer
> Affects Versions: Installer Core 3.8.0
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
>
> Currently the retry behaviour and exception handling needs to be done in each
> {{InstallTaskFactory}} individually. It would be good to have a global
> handling in the OSGi Installer, which could be easily triggered from the
> individual transformers.
> The desired approach is outlined in
> http://www.mail-archive.com/[email protected]/msg60947.html.
> Basically we have to distinguish between the following error cases:
> # Unrecoverable error, an error which will occur with every retry, therefore
> there is no need to try to execute the same transformer on the same resource
> again.
> # Recoverable error, the retry should happen immediately or after a short
> waiting time (independent of other OSGi Installer events)
> # Recoverable error, the retry should happen with the next cycle of the OSGi
> Installer
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)