I got it working by editing spring jbpm module. But don't know it is done as 
good as it can be.
Instead of new JbpmConfiguration(...) I use 
JbpmConfiguration.getConfiguration(..)



So question is simplier:

a) Should I commit transaction before closing context:

  | tx start
  | new jbpmcontext
  | do something
  | tx commit
  | jbpmcontext close
  | 

b) Or should I work with only one jbpmconfiguration = only one object factory 
and use jbpmcontext like this 


  | tx start
  | new jbpmcontext
  | do something
  | jbpmcontext close
  | tx commit
  | 
  | This fits me. I need only 1 configuration. But I don't like the static 
default when there is no jbpm context. 
  | 
  | Answers please:-)
  | 
  | Thanks

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

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

Reply via email to