You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2016/08/03 17:29:20 UTC

[jira] [Created] (QPIDJMS-195) misc error handling improvements

Robbie Gemmell created QPIDJMS-195:
--------------------------------------

             Summary: misc error handling improvements
                 Key: QPIDJMS-195
                 URL: https://issues.apache.org/jira/browse/QPIDJMS-195
             Project: Qpid JMS
          Issue Type: Bug
          Components: qpid-jms-client
    Affects Versions: 0.10.0
            Reporter: Robbie Gemmell
             Fix For: 0.11.0


Some recent isses reported on the users list have shown that the client doesn't handle Errors (as opposed to Exceptions) well during the connection creation process. A couple of examples were from using incompatible version of proton-j (due to an older version being embedded within another client library being earlier on the classpath), and from failing to make some required classes available within an OSGi environment.

Looking closer, this is because the relevant tasks are passed to an Executor, but only Exceptions are caught within the task and used to fail their related requests, with the Executor itself swallowing any Errors when they weren't handled. We should trip request failure upon seeing Errors as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org