[jboss-user] [JBoss jBPM] - Configure JobExecutor in Spring

mckanth do-not-reply at jboss.com
Tue Sep 25 13:38:11 EDT 2007


Hi, 
I have tried to configure JobExecutor in Spring as below:

but I get the exception property jbpmConfiguration,nbrOfThreads,idleInterval etc are not writable in JobExecutor since there are no setter methods for those properties. 

Is there any alternative to getting this working. configuring JobExecutor? 


Thanks 
mck

  |        <bean id="jbpm.job.executor" class="org.jbpm.job.executor.JobExecutor">
  |           <property name="jbpmConfiguration" ref="x.jbpmConfiguration" />
  |           <property name="name" value="JbpmJobExector"/> 
  |           <property name="nbrOfThreads" value="1"/>
  |           <property name="idleInterval" value="5000"/>
  |           <property name="maxIdleInterval" value="300000"/>
  |           <property name="historyMaxSize" value="20"/>
  |           <property name="maxLockTime" value="600000"/>          
  |           <property name="lockMonitorInterval" value="60000"/>  
  |           <property name="lockBufferTime" value="5000"/>        
  |      </bean> 
  | 
  | 
  | 

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

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



More information about the jboss-user mailing list