Decorated workItemHandlers and listeners cannot be deployed together

Solution Verified - Updated -


  • Decorated workItemHandlers and listeners cannot be deployed together.
  • If the workItemHandlers are not decorated the workItemHandlers and the listeners work.


  • Red Hat JBoss BPM Suite
    • 6.0.3
  • Reference kmodule.xml file:
<kmodule xmlns="" xmlns:xsi="">
  <kbase name="defaultKieBase" default="true" eventProcessingMode="cloud" equalsBehavior="identity" declarativeAgenda="disabled" scope="javax.enterprise.context.ApplicationScoped" packages="*">
    <ksession name="defaultKieSession" type="stateful" default="true" clockType="realtime" scope="javax.enterprise.context.ApplicationScoped">
        <workItemHandler type="new org.jbpm.bpmn2.handler.SignallingTaskHandlerDecorator(org.jbpm.workitem.HelloWorldWorkItemHandler.class, 'Error-abort')" name="HelloWorld"/>
        <ruleRuntimeEventListener type="org.jbpm.eventlistener.RREventListener"/>
        <agendaEventListener type="org.jbpm.eventlistener.AEventListener"/>

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content