Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4544

cdi based task service skips listeners defined as part of deployment descriptor.

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jBPM 6.1.0.Final
    • Fix Version/s: jBPM 6.2.0.Final
    • Component/s: Runtime Engine
    • Labels:
      None
    • Environment:

      windows7 64 - wildfly

    • Steps to Reproduce:
      Hide

      define in kie-deployment-descriptor.xml, something like:

      <event-listeners>
      <event-listener>
      <resolver>reflection</resolver>
      <identifier>es.listatrabajo.sample.sample.eventlisteners.SampleProcessEventListener</identifier>
      </event-listener>
      </event-listeners>
      <task-event-listeners>
      <task-event-listener>
      <resolver>reflection</resolver>
      <identifier>es.listatrabajo.sample.sample.eventlisteners.SampleTaskLifeCicleEvent</identifier>
      </task-event-listener>
      </task-event-listeners>

      The definition of <event-listeners> works.
      The definition of <task-event-listeners> in kie-deployment-descriptor.xml is ignored.

      Show
      define in kie-deployment-descriptor.xml, something like: <event-listeners> <event-listener> <resolver>reflection</resolver> <identifier>es.listatrabajo.sample.sample.eventlisteners.SampleProcessEventListener</identifier> </event-listener> </event-listeners> <task-event-listeners> <task-event-listener> <resolver>reflection</resolver> <identifier>es.listatrabajo.sample.sample.eventlisteners.SampleTaskLifeCicleEvent</identifier> </task-event-listener> </task-event-listeners> The definition of <event-listeners> works. The definition of <task-event-listeners> in kie-deployment-descriptor.xml is ignored.

      Description

      The definition of <task-event-listeners> in kie-deployment-descriptor.xml is ignored.
      The definition of <event-listeners> works.

      More Info and sample project at:
      google groups / jBPM Usage ›
      jbpm 6.1 - how to upload a java file in kie workbench ?
      https://groups.google.com/forum/#!topic/jbpm-usage/oTZPo1uqOug

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                swiderski.maciej Maciej Swiderski
                Reporter:
                correoalternativo javier alternativo
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: