[jboss-user] [jBPM] - Query task with variables

Maciej Swiderski do-not-reply at jboss.com
Tue May 25 12:32:51 EDT 2010

Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] replied to the discussion

"Query task with variables"

To view the discussion, visit: http://community.jboss.org/message/544721#544721

> Thomas Victor wrote:
> ? Right now I extracted the hbpm.jar, then modified the bpm.tx.jta.cfg.xml then jarred it back. Is there any way to add the configuration on the jbpm.cfg.xml. I mean any way to leave the jar file as it is and do configurations out side?
Sure, you can supply your configuration prior to building your process engine.

Configuration configuration = new Configurtion();
configuration.setFile("path to your custom config");
ProcessEngine processEngine = configuration.buildProcessEngine();

setFile is only of of the available options, you can use class path resource, input stream, etc. Please refer to JavaDocs for more details.



Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100525/93fbd441/attachment.html 

More information about the jboss-user mailing list