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

Reduce log noise from QueueBrowser on failed close of internal consumer

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.9.0
    • Component/s: qpid-jms-client
    • Labels:
      None

      Description

      When the internal consumer instance is closed in the JmsQueueBrowser it can log a warn if the close fails which is not of much use since the warning details will usually have been logged elsewhere. Reduce to trace level.

      Also use a finally block to ensure that the internal consumer is nulled out if the close throws an error.

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 9f2f7c59fc060002ab97aebcf847276d4460307e in qpid-jms's branch refs/heads/master from Timothy Bish
        [ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=9f2f7c5 ]

        QPIDJMS-152 Clean up in QueueBrowser, remove log noise and ensure
        resource nulled on failed close.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 9f2f7c59fc060002ab97aebcf847276d4460307e in qpid-jms's branch refs/heads/master from Timothy Bish [ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=9f2f7c5 ] QPIDJMS-152 Clean up in QueueBrowser, remove log noise and ensure resource nulled on failed close.

          People

          • Assignee:
            tabish121 Timothy Bish
            Reporter:
            tabish121 Timothy Bish
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development