Ok. Do you have any interest in a patch to allow us to do something like this 
in components.xml:

        
  | <bpm:jbpm name="config1" jbpm-configuration-name="jbpm-1.cfg.xml" />
  | <bpm:jbpm name="config2" jbpm-configuration-name="jbpm-2.cfg.xml"/>
  | <bpm:managed-jbpm-context name="jbpmContext" auto-create="true" 
jbpm-session-factory="#{jbpmConfiguration}" />
  | 

where jbpmConfiguration would a reference to either config1 or config2

Note that the current managed JbpmContext has a hard dependency on the default 
jbpm implementation because of code like this: 


  | jbpmContext = Jbpm.instance().getJbpmConfiguration().createJbpmContext();
  | 

You can't just set the session context manually after getting the 
ManagedJbpmContext, nor can you replace the default implementation of 
ManagedJbpmContext without patching Seam because of code like this:


  | ProcessInstance process = 
ManagedJbpmContext.instance().newProcessInstanceForUpdate(processDefinitionName);
  | 

in the classes in org.jboss.seam.bpm.

Thoughts appreciated.

Cheers
J

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105382
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to