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

[Broker-J] Create binding operations on exchanges should fail when invalid selector is provided as part of binding arguments

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.32, qpid-java-6.0, qpid-java-6.0.1, qpid-java-6.0.2, qpid-java-6.0.3, qpid-java-6.0.4, qpid-java-6.0.5, qpid-java-6.1, qpid-java-6.0.6, qpid-java-6.1.1
    • Fix Version/s: qpid-java-broker-7.1.0
    • Component/s: Broker-J
    • Labels:
      None

      Description

      When create binding operation is invoked with invalid selector provided as part of binding arguments , the current exchange implementations react differently on this error condition:

      • fanout and direct exchanges create binding successfully without a selector
      • topic exchange throws ConnectionScopeRuntimeException
      • header exchange create "x-exclude-all" filter

      The current behavior is inconsistent and not valid. The caller needs to be notified about error condition by throwing a special exception which is not ConnectionScopeRuntimeException.

        Attachments

          Activity

            People

            • Assignee:
              orudyy Alex Rudyy
              Reporter:
              orudyy Alex Rudyy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: