[jboss-user] [JBoss jBPM] - Re: Timer Task never fired

Olivier.ch do-not-reply at jboss.com
Tue Oct 23 07:56:21 EDT 2007


Yes there is a task. I have tried to set the timer on my task :


  | <task-node name="Prise En Charge">
  |    	  <task name="Prendre en charge">
  |       	<timer name="timer-AlerteDeclenchee" duedate="2 seconds" repeat="true" >
  |    	  		<action name="Renotification" class="ocd.common.workflow.process.action.NotificationTimerHandler"></action>
  |    	  	</timer>
  |          <assignment class="ocd.common.workflow.process.action.AssignerUtilisateur"></assignment>
  |          <controller>
  |             <variable name="acteurID" access="read,write,required"></variable>
  |             <variable name="txtMessage" access="read,write,required"></variable>
  |             <variable name="listeDeDiffusion" access="read,write,required"></variable>
  |          </controller>
  |       </task>
  |       <event type="node-enter">
  |          <action name="Notification (Alerte declenchee)" class="ocd.common.workflow.process.action.NotificationTimerHandler" config-type="bean">
  |          </action>
  |       </event>
  |       <event type="node-leave">
  |          <action name="Notification (Alerte prise en charge)" class="ocd.common.workflow.process.action.NotificationHandler"></action>
  |       </event>
  |       <transition name="Alerte prise en charge" to="Decision Crise">
  |       </transition>
  |    </task-node>
  | 

Then I have the create timer on my logs  :

  | 13:43:03,505 DEBUG GraphElement:247 - executing action 'CreateTimerAction(1a82e92)'
  | 13:43:03,505 DEBUG Token:648 - token[5654] is locked by token[5654]
  | 13:43:03,505 DEBUG GraphElement:170 - event 'timer-create' on 'Task(Prendre en charge)' for 'Token(/)'
  | 

but I do not have a delete timer (Perhaps because on my Junit Test, I do not have a task.end() I just use the context.signal () to jump on the other node ) 

In conclusion, I steel do not have any fired timer  ...
My action timer is never use and I do not have any log of this event ...

Is there something else to set configuration on because I do not use JBoss. For the moment only Junit and Spring, and after Tomcat will be my Web Application Server... ?

Thanks for your help

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097851#4097851

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097851



More information about the jboss-user mailing list