[rules-users] Implementing Timers With Drools Persistence Enabled

Mauricio Salatino salaboy at gmail.com
Fri Jun 25 17:28:38 EDT 2010


Are you sure that the thread is not dying? can you create a simple project
that demonstrate your current scenario?
I can work to fix that if there is a problem there.

On Fri, Jun 25, 2010 at 6:23 PM, nanic23 <nanic23 at hotmail.com> wrote:

>
> Hi All,
>
> I was able to implement some timers and they behave as expected until I
> enable persistence. Timers work (get triggered) when creating the
> StatefulKnowledgeSession by kbase.newStatefulKnowledgeSession() but they do
> NOT work (do not get triggered) when creating the StatefulKnowledgeSession
> by JPAKnowledgeService.newStatefulKnowledgeSession(kbase, null, env);
>
> I am calling ksession.fireUntilHalt() from within a new thread and all
> that.
> The problem is not getting timers to work, as I have already accomplished
> this, but the problem is rather getting them to work with persistence
> enabled.
>
> - Has anyone implemented timers while using (having enabled) persistence?
> - Did you experience any problems such as timers not triggering?
> - If so, have you found a work around you could share?
>
> The timers are being implemented in ruleflow (DRF) and I'm using drools
> 5.1.0
>
> Any comments are welcome.
>
> Thanks,
>
> Nick.
> --
> View this message in context:
> http://drools-java-rules-engine.46999.n3.nabble.com/Implementing-Timers-With-Drools-Persistence-Enabled-tp923142p923142.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
- CTO @ http://www.plugtree.com
- MyJourney @ http://salaboy.wordpress.com
- Co-Founder @ http://www.jbug.com.ar

- Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100625/7d9d6af2/attachment.html 


More information about the rules-users mailing list