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

Deprecate RuntimeService.startProcessInstanceByMessage() method?

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • engine
    • None

      deprecated?
      Methoden

      • signal
      • message received
      • start pi by message

        This is the controller panel for Smart Panels app

            [CAM-1776] Deprecate RuntimeService.startProcessInstanceByMessage() method?

            Daniel Meyer added a comment -

            The following methods should no be deprecated:

            • "signal" is the native PVM signal method and is required when implementing custom SignallableActivityBehaviors (ie. for asynchronous service invocations with callbacks)
            • "message received" is required for complex correlation scenatios which are not covered by correlateMessage() or when correlation is performed outside of the process engine by application logic.

            We could adjust the Javadoc on this methods hinting that the RuntimeService.correlateMessage() method should be used for most usecases.

            "startProcessInstanceByMessage" could be deprecated but we should wait until we do CAM-1449 since we might learn something there.

            Daniel Meyer added a comment - The following methods should no be deprecated: "signal" is the native PVM signal method and is required when implementing custom SignallableActivityBehaviors (ie. for asynchronous service invocations with callbacks) "message received" is required for complex correlation scenatios which are not covered by correlateMessage() or when correlation is performed outside of the process engine by application logic. We could adjust the Javadoc on this methods hinting that the RuntimeService.correlateMessage() method should be used for most usecases. "startProcessInstanceByMessage" could be deprecated but we should wait until we do CAM-1449 since we might learn something there.

            We are closing this ticket as part of our backlog grooming. Reasons:

            • This task is not relevant anymore

            Thorben Lindhauer added a comment - We are closing this ticket as part of our backlog grooming. Reasons: This task is not relevant anymore

              Unassigned Unassigned
              gimbel Robert Gimbel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: