[jboss-user] [JBoss jBPM] - Re: Job Executor and Spring

ssljivic do-not-reply at jboss.com
Fri Oct 10 06:24:41 EDT 2008

The provided solution worked, but I had to extract all jBPM *.hbm.xml files to the source/classes folder, because Spring was unable to load them from the JAR file.

I have another question. I have Job Executor configured in jbpm.cfg.xml file like this:

<bean name="jbpm.job.executor" class="org.jbpm.job.executor.JobExecutor">
  |     <field name="jbpmConfiguration"> <ref bean="jbpmConfiguration" /> </field>
  |     <field name="name"><string value="JbpmJobExecutor" /></field>
  |     <field name="nbrOfThreads"><int value="1" /></field>
  |     <field name="idleInterval"><int value="5000" /></field>
  |     <field name="maxIdleInterval"><int value="3600000" /></field> <!-- 1 hour -->
  |     <field name="historyMaxSize"><int value="20" /></field>
  |     <field name="maxLockTime"><int value="600000" /></field> <!-- 10 minutes -->
  |     <field name="lockMonitorInterval"><int value="60000" /></field> <!-- 1 minute -->
  |     <field name="lockBufferTime"><int value="5000" /></field> <!-- 5 seconds -->
  |   </bean>

How can I move that definition into the Spring XML configuration? Is it  possible to entirely ignore jbpm.cfg.xml and move entire jBPM configuration into the Spring XML files?


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

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

More information about the jboss-user mailing list