Listener.recv() behavior when interrupted
-----------------------------------------

                 Key: S4-14
                 URL: https://issues.apache.org/jira/browse/S4-14
             Project: Apache S4
          Issue Type: Bug
            Reporter: Karthik Kambatla
            Assignee: Karthik Kambatla


Currently, different listeners behave differently on receiving an 
InterruptedException while blocking on recv(). Some return null, while some 
throw a RuntimeException.

I feel returning a null makes more sense - (1) There might be cases requiring a 
subsequent call to recv(), (2) Easier to understand/analyze for the 
application-programmer.

Comments?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to