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

QueueBrowser.getEnumeration() - consumes messages on the queue but the Browse method purpose is not honored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • 0.52.0
    • None
    • qpid-jms-client
    • None
    • Important

    Description

      I m trying to browse the queue using qpid-jms-client with amqp protocol , queuebrowser is consuming the messages from the queue.

      also the session is created with client acknowledge mode and is not a transacted session.

      As far as I understand queuebrowser will just traverse the messages in the queue but not consumes them. But here the qpid-jms-client creating consumer while getting the ENUMERATION on the QueueBrowser. 

      the purpose of the browse method is failed here. I would like to know if this is as designed or a bug.

      also, when amqp server is not receiving the message acknowledgement in corner cases, qpid-jms client again calling add asynch subscriber to the queue, which is causing following exception since the connection is closed by test method while qpid-jms-client is trying to write something to it.

      The JMS connection has failed: Error in proton Transport: Unknown constructor [condition = amqp:decode-error]

       

       

      Thanks,

      Vijaya

      Attachments

        Activity

          People

            Unassigned Unassigned
            vijaya.dodamani@gmail.com Vijaya Dodamani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: