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

Error message describing problem with value descriptor for filter is cryptic

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.30
    • None
    • C++ Broker
    • None
    • http://amqpnetlite.codeplex.com/ self tests targeting Qpidd broker on Fedora 19 x64.

    Description

      Qpidd rejects a filter created with

      filters.Add(new Symbol("f1"), new DescribedValue("apache.org:selector-filter:string", "sn = 100"));
      

      with error message

      2014-11-03 10:27:54 [Broker] notice Ignoring descriptor of type 20
      2014-11-03 10:27:54 [Broker] notice Skipping unrecognised string filter with key f1 and descriptor 0x0
      

      Changing the source code to

      filters.Add(new Symbol("f1"), new DescribedValue(new Symbol("apache.org:selector-filter:string"), "sn = 100"));

      Fixes the issue. But the error message could be a little more clear about what is wrong with the received filter.

      Attachments

        Activity

          People

            Unassigned Unassigned
            chug Charles E. Rolke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: