Uploaded image for project: 'Qpid JMS'
  1. Qpid JMS
  2. QPIDJMS-195

misc error handling improvements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.11.0
    • qpid-jms-client
    • None

    Description

      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.

      Attachments

        Activity

          People

            robbie Robbie Gemmell
            robbie Robbie Gemmell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: