karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Roedl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-751) Provide a Timer Service in Karaf
Date Fri, 02 Aug 2013 21:07:49 GMT

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

Lukas Roedl commented on KARAF-751:
-----------------------------------

My first try also was to get the sling bundles running. Unfortunately SCR isn't running in
Karaf out of the box and you have to install the scr feature. And that caused some errors
which I don't remember anymore.
Furthermore the software we run on top of Karaf is only using Blueprint (so we would need
SCR only for the scheduler) and I also wanted to be able to at least list the current scheduler
jobs within the Karaf shell.
These were the reasons for creating the blueprint version.

But I agree that it's not the best option to have a modified version of the scheduler in Karaf
and then have the need to keep track of the changes in the original implementation.

So what I desire is a bundle which has as few as possible dependencies, supports blueprint
and SCR at the same time and offers the possibility to access the planned jobs, so that they
can be displayed and maybe modified via the shell.

To enable that maybe it's the best to use just the Framework API and make the thread pool
optional. But that's just my 2 cents...

                
> Provide a Timer Service in Karaf
> --------------------------------
>
>                 Key: KARAF-751
>                 URL: https://issues.apache.org/jira/browse/KARAF-751
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-osgi
>    Affects Versions: 3.0.0
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: 3.1.0
>
>         Attachments: Scheduler_20130430.patch, Scheduler_20130802.patch
>
>
> In many cases there is need to have recurring tasks run for a period of time.
> It would be great if Karaf provided some short of a TimerService that would allow the
user to easily schedule task execution.

--
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

Mime
View raw message