[jboss-svn-commits] JBL Code SVN: r34870 - labs/jbossrules/branches/5_1_20100802_esteban_diega/drools-process/drools-persistent-timer/drools-timer-executor/src/main/java/org/drools/job/executor/timer.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Aug 24 14:53:09 EDT 2010


Author: eaa
Date: 2010-08-24 14:53:08 -0400 (Tue, 24 Aug 2010)
New Revision: 34870

Modified:
   labs/jbossrules/branches/5_1_20100802_esteban_diega/drools-process/drools-persistent-timer/drools-timer-executor/src/main/java/org/drools/job/executor/timer/TimerJobExecutor.java
Log:
JBRULES-2616: Process persistent timers
	- When timer instance is recreated, its timerId is also set now.

Modified: labs/jbossrules/branches/5_1_20100802_esteban_diega/drools-process/drools-persistent-timer/drools-timer-executor/src/main/java/org/drools/job/executor/timer/TimerJobExecutor.java
===================================================================
--- labs/jbossrules/branches/5_1_20100802_esteban_diega/drools-process/drools-persistent-timer/drools-timer-executor/src/main/java/org/drools/job/executor/timer/TimerJobExecutor.java	2010-08-24 17:01:34 UTC (rev 34869)
+++ labs/jbossrules/branches/5_1_20100802_esteban_diega/drools-process/drools-persistent-timer/drools-timer-executor/src/main/java/org/drools/job/executor/timer/TimerJobExecutor.java	2010-08-24 18:53:08 UTC (rev 34870)
@@ -44,6 +44,7 @@
 	    
 	    TimerInstance timerInstance = new TimerInstance();
 	    timerInstance.setId(job.getTimerId());
+	    timerInstance.setTimerId(job.getTimerId());
 	    timerInstance.setPeriod(job.getPeriod());
 	    
         signalManager.signalEvent( processInstanceId, "timerTriggered",  timerInstance );



More information about the jboss-svn-commits mailing list