How to configure jBPM6 to load workflow definitions from classpath and filesystem ?
Issue
- Users sometimes package a set of
custom WorkItemHandlersin their application, and these are present on theclasspathwhen the application starts up. Thesecustom WorkItemHandlershave to be loaded intojBPM6 enginevia adrools.rulebase.conffile, aMyWorkItemHandlers.widfile, and akmodule.xmlfile, all available in theMETA-INFdirectory within the runtimeclasspath. This design works as expected. - Now, there are requirements to dynamically add an additional series of
kjars into the application at runtime, such that any workflow definitions, work item handlers and any classes packaged within these jars become available for use byjBPM6 engineand the application as well. Ideally, something similar to theKieScannermight look best suited for these requirements, but users might want to load thesekjars from a filesystem directory, rather than from aMaven repository. Is there a way throughKie APIor any other means to facilitate users to dynamically make thesekjars loaded and available to the runtime ?
Environment
- Red Hat JBoss BPM Suite (BPMS)
- 6.0.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
