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

                 Key: UIMA-2231
                 URL: https://issues.apache.org/jira/browse/UIMA-2231
             Project: UIMA
          Issue Type: New Feature
          Components: Async Scaleout
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik
            Priority: Minor
             Fix For: 2.3.2AS


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to