[jboss-user] [jBPM] - Timer trigger in Junit test

Huisheng Xu do-not-reply at jboss.com
Tue Mar 30 13:06:50 EDT 2010


Huisheng Xu [http://community.jboss.org/people/rebody] replied to the discussion

"Timer trigger in Junit test"

To view the discussion, visit: http://community.jboss.org/message/534706#534706

--------------------------------------------------------------
Hi Sameeh:
  You can import jbpm.jobexecutor.cfg.xml  to the jbpm.cfg.xml, then when you startup the ProcessEngine, JobExecutor will startup automaticly. The configuration is as following:




  If you set hibernate 'show_sql=true', you will see many SQL on the console, it is said that JobExecutor is trying to find Job from database.

  The JobExecutor needn't a servlet container like tomcat, because it is no more than a TheadPool. You can try like this in your unit test.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/534706#534706]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100330/4b01129c/attachment.html 


More information about the jboss-user mailing list