[jboss-user] [jBPM Users] - Re: jbpm 4.2 spring 2.5.6 integration

saraswati.santanu do-not-reply at jboss.com
Sun Nov 15 13:52:33 EST 2009


This is sample jpdl.cfg.xml. Please observe the command-service and db id generator mappings.

  | <jbpm-configuration>
  | 
  |   <import resource="jbpm.businesscalendar.cfg.xml" />
  |   <import resource="jbpm.jpdl.cfg.xml" />
  | 
  |   <process-engine-context>
  |     <repository-service />
  |     <repository-cache />
  |     <execution-service />
  |     <history-service />
  |     <management-service />
  |     <task-service />
  |     <identity-service />
  |     <command-service name="txRequiredCommandService">
  |       <retry-interceptor />
  |       <environment-interceptor />
  |       <spring-transaction-interceptor/>
  |     </command-service>
  |         
  |     <object class="org.jbpm.pvm.internal.id.DatabaseDbidGenerator">
  |       <field name="commandService"><ref object="txRequiredCommandService" /></field>
  |     </object>
  |     
  |     <object class="org.jbpm.pvm.internal.id.DatabaseIdComposer" init="eager" />
  | 
  |     <script-manager default-expression-language="juel" default-script-language="juel">
  |       <script-language name="juel" factory="org.jbpm.pvm.internal.script.JuelScriptEngineFactory" />
  |     </script-manager>
  |     
  |     <job-executor auto-start="false" />
  |     
  |     <types resource="jbpm.variable.types.xml" />
  |   </process-engine-context>
  | 
  |   <transaction-context>
  |     <repository-session/>
  |     <db-session/>
  | 
  |     <message-session/>
  |     <timer-session/>
  |     <history-session/>
  | 
  |     <hibernate-session current="true"/> 
  |   </transaction-context>
  | 
  | </jbpm-configuration>
  | 

You can also refer to this post http://www.jboss.org/index.html?module=bb&op=viewtopic&t=163512

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

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



More information about the jboss-user mailing list