-
1. Re: How do I registry the workItemHandlers in the new jbpm6.1???
abhijithumbe Jul 7, 2015 5:30 AM (in response to mmorales.pedraza)Hi,
You can register workItemHandler from kmodule.xml file, like as:
<kmodule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://jboss.org/kie/6.0.0/kmodule">
<kbase name="kbase" default="true" eventProcessingMode="stream" equalsBehavior="identity" declarativeAgenda="disabled" scope="javax.enterprise.context.ApplicationScoped">
<ksession name="ksession" type="stateful" default="true" clockType="realtime" beliefSystem="simple" scope="javax.enterprise.context.ApplicationScoped">
<workItemHandlers>
<workItemHandler name="Test2" type="new com.redhat.sample.workitem.handler.DemoWorkItemHandler()"/>
</workItemHandlers>
</ksession>
</kbase>
</kmodule>
Hope it helps..
-
2. Re: How do I registry the workItemHandlers in the new jbpm6.1???
mmorales.pedraza Jul 7, 2015 2:25 PM (in response to abhijithumbe)Yes, I have completely forgotten about that other option.
Edit the kmodule.xml in my project.
Upload the artifacts that contains the wih classes
Add them as dependencies in the project editor.
Thank you. Still don't know why remove the other option.