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

Java Client Rejects messages for QueueBrowsers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • M3
    • JMS AMQP 0-x
    • None

    Description

      Summary:
      The Java client wastes it's time rejecting messages for closed QueueBrowsers.

      In 0-8 these messages are sent with NO_ACK so the reject will currently have no effect.
      Currently the Java Broker simply reports a warning of this:
      _logger.warn("Dropping reject request as message is null for tag:" + deliveryTag);
      // throw evt.getMethod().getChannelException(AMQConstant.NOT_FOUND, "Delivery Tag(" + deliveryTag + ")not known");
      But it should close the Channel as rejecting an invalid message is a Channel error:

      Protocol Trace attached in comments:

      Attachments

        Activity

          People

            Unassigned Unassigned
            ritchiem Martin Ritchie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: