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

Job listner methods beforeJobExecuted and afterJobExecuted are not invoked for JMS executor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 7.20.0.Final
    • KieServer, Runtime Engine
    • None
    • NEW
    • NEW
    • clean up.
    • Hide

      Deploy Kie server on WildFly with system property org.kie.executor.jms set to true, enable Prometheus metrics.
      Create a job for executor, wait until it is finished.
      Check Prometheus metrics, metrics with name kie_server_job_executed_total and kie_server_job_duration_seconds are not available.

      Show
      Deploy Kie server on WildFly with system property org.kie.executor.jms set to true, enable Prometheus metrics. Create a job for executor, wait until it is finished. Check Prometheus metrics, metrics with name kie_server_job_executed_total and kie_server_job_duration_seconds are not available.

    Description

      If JMS job executor is used (org.kie.executor.jms is set to true) and async job listener is registered in executor service then listener callbacks beforeJobExecuted() and afterJobExecuted() are not invoked.

      This can be observed with enabled Prometheus metrics as Prometheus is using listener to gather metrics info.

      Attachments

        Activity

          People

            swiderski.maciej Maciej Swiderski (Inactive)
            ksuta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: