Class CmmnEventRegistryEventConsumer

java.lang.Object
org.flowable.eventregistry.impl.consumer.BaseEventRegistryEventConsumer
org.flowable.cmmn.engine.impl.eventregistry.CmmnEventRegistryEventConsumer
All Implemented Interfaces:
org.flowable.eventregistry.api.EventRegistryEventConsumer

public class CmmnEventRegistryEventConsumer extends BaseEventRegistryEventConsumer
Author:
Joram Barrez, Filip Hrisafov
  • Field Details

  • Constructor Details

    • CmmnEventRegistryEventConsumer

      public CmmnEventRegistryEventConsumer(CmmnEngineConfiguration cmmnEngineConfiguration)
  • Method Details

    • getConsumerKey

      public String getConsumerKey()
    • eventReceived

      protected org.flowable.eventregistry.api.EventRegistryProcessingInfo eventReceived(org.flowable.eventregistry.api.runtime.EventInstance eventInstance)
      Specified by:
      eventReceived in class BaseEventRegistryEventConsumer
    • handleEventSubscription

      protected void handleEventSubscription(CmmnRuntimeService cmmnRuntimeService, org.flowable.eventsubscription.api.EventSubscription eventSubscription, org.flowable.eventregistry.api.runtime.EventInstance eventInstance, Collection<CorrelationKey> correlationKeys, org.flowable.eventregistry.api.EventConsumerInfo eventConsumerInfo)
    • countCaseInstances

      protected long countCaseInstances(CmmnRuntimeService cmmnRuntimeService, org.flowable.eventregistry.api.runtime.EventInstance eventInstance, CorrelationKey correlationKey, CaseDefinition caseDefinition)
    • startCaseInstance

      protected void startCaseInstance(CaseInstanceBuilder caseInstanceBuilder, String referenceId, String referenceType)
    • getStartCorrelationConfiguration

      protected String getStartCorrelationConfiguration(org.flowable.eventsubscription.api.EventSubscription eventSubscription)
    • createEventSubscriptionQuery

      protected org.flowable.eventsubscription.api.EventSubscriptionQuery createEventSubscriptionQuery()
      Specified by:
      createEventSubscriptionQuery in class BaseEventRegistryEventConsumer