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

Extract proper error from Rejected disposition to avoid NPE as cause of a JMSException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.1.0, 0.2.0, 0.3.0, 0.4.0
    • 0.5.0
    • qpid-jms-client
    • None

    Description

      When an send is answered with a Rejected disposition we don't try to extract the error from the outcome and this result in no Exception being propagated up to the exception dispatcher which leads to an NPE getting set into the JMSException we fire.

      This also impacts error detection when the connection is set to always sync send and a broker like ActiveMQ sends back an error on a send. Without the outcome error lookup we fail to properly throw a JMSException from a failed send because the error value that propagates up is null.

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: