Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3207

AMQSession.java close() does not close the consumers with the correct arguments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 0.10
    • None
    • JMS AMQP 0-x
    • None

    Description

      When the AMQSession.java close() is invoked it will in turn call the "private void closeConsumers(Throwable error) throws JMSException" method.
      In this method if the error is null then the consumer.close method is called with "sendClose=false".

      I wonder if this is the correct setting. I suspect the intended value is "true".
      The boolean value is used in determining if we should send a message-cancel or not.
      I am not sure why we are not going to send a message cancel in this case, as we haven't encountered a session error and the session is active.
      Note the AMQSession.java closes the session only after the consumers and producers are closed.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rajith Rajith Muditha Attapattu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: