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

TaskService environment cannot be customized when using HumanTaskServiceProducer

    Details

    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      When using CDI, HumanTaskServiceProducer is used to configure TaskService instances. This class creates and configures a HumanTaskConfigurator which is then used to construct a TaskService implementation.

      There is significant configuration performed by this producer, but there is no way to add an setting to the HumanTaskConfigurator before it is used to construct the TaskService. As a result, the producer cannot be used if use cases that involve setting additional environment settings, such as PersistenceContextManager or TransactionManager.

      It would be helpful to split the functionality in produceTaskService into several protected methods which could be overridden if necessary to allow environment customizations.

      I'll submit a PR with these proposed changes.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                swiderski.maciej Maciej Swiderski
                Reporter:
                lukenjmcd Luke McDougall
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: