Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-644

Using the JAVA Api I can trigger a Message event subscription by correlation payload

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.0.0-alpha3, 7.0.0
    • None
    • engine
    • None

      AT:

      • The RuntimeService provides a method for triggering message event subsciptions, providing
      • message event name
      • a Map of correlation parameters
      • a Map of process variables
      • ...
      • The expected behavior is that the implementation finds the corresponding execution (taking into account the correlation set) and triggers that execution. The method may also start a new process instance.
      • If no event subscription for the provided message event name can be found an Error is returned
      • If multiple event subscriptions for the provided message event name + correlation can be found an Error is returned
      • Nice documentation can be found in the BPMN Implementation Reference

      CONSIDER:

      • the actual correlation logic may be abstracted using a configuration interface (MessageCorrelationHandler ?) so that users can plug in custom correlation logic

        This is the controller panel for Smart Panels app

          There are no Sub-Tasks for this issue.

              thorben.lindhauer Thorben Lindhauer
              meyer Daniel Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: