UIMA
  1. UIMA
  2. UIMA-2231

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

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor 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.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development