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

I can use "long polling" to fetch and lock external tasks

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.9.0, 7.9.0-alpha3
    • Component/s: engine
    • Labels:
      None

      Description

      AT

      • a timeout can be specified in milliseconds
      • an appropriated maximum timeout exists and an exception is thrown if exceeded
      • if there are available tasks, the response is performed immediately
      • if there are currently no available tasks, the request is added to the long polling thread
      • the long polling thread...
        • is a singleton, so all requests are handled inside this thread instance
        • falls asleep for an appropriated period of time if there are no requests pending
        • is woken up by a new request

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              svetlana.dorokhova Svetlana Dorokhova
              Reporter:
              roman.smirnov Smirnov Roman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: