Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-2231

UIMA AS client should handle InterruptedException while blocking in sendAndReceive()

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0AS
    • Component/s: Async Scaleout
    • Labels:
      None

      Description

      UIMA AS doesnt (gracefully) handle InterruptedException while blocking in sendAndReceive() method. An application may want to interrupt a thread stuck in sendAndReceive after some time and this should be supported. Catch the InterruptedException, cancel a timer associated with a CAS sendAndReceive() is waiting for, and throw ResourceProcessException from in sendAndReceive() with a cause:InterruptedException.

        Attachments

          Activity

            People

            • Assignee:
              cwiklik Jerry Cwiklik
              Reporter:
              cwiklik Jerry Cwiklik
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: