Hi,
I had a few questions about job executor and jbpmcontext,
1.Do we need to close jbpmContext every time after we used it?Like:
public myMethod(){
JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
.....
jbpmContext.close();
}<bean name="jbpm.job.executor" class="org.jbpm.job.executor.JobExecutor" singleton="true">
public void close() {
if ( (hasProducedJobs)
&& (jobExecutor!=null)
) {
log.debug("messages were produced, job executor will be signalled");
synchronized(jobExecutor) {
jobExecutor.notify();
}
}
}Can anyone provide some thoughts on this? I think those answers are very important for how to integrate JBPM in their own project.
Should we ask such question to Jbpm developer?