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

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.0AS
    • Async Scaleout
    • 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

            cwiklik Jaroslaw Cwiklik
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: