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

[Broker-J] Attempting to use an unknown filter type incorrectly causes connection closure with a decode error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • qpid-java-broker-7.1.0
    • Broker-J
    • None

    Description

      As discovered in QPID-8113 if a client attempts to attach to a source using an unknown filter type (i.e. an unrecognised descriptor) the broker responds with a decode error similar to

      [0x555941994670]:0 <- @close(24) [error=@error(29) [condition=:"amqp:decode-error", description="Expected key type is 'Filter' but got 'DescribedType'"]]

      Instead the broker should simply fail to attach (i.e. attach with source=null) and then immediately detach with a not-implemented error.

      Attachments

        Activity

          People

            orudyy Alex Rudyy
            rgodfrey Robert Godfrey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: