Chuck Rolke created QPID-6215:
---------------------------------

             Summary: Error message describing problem with value descriptor 
for filter is cryptic
                 Key: QPID-6215
                 URL: https://issues.apache.org/jira/browse/QPID-6215
             Project: Qpid
          Issue Type: Improvement
          Components: C++ Broker
    Affects Versions: 0.30
         Environment: http://amqpnetlite.codeplex.com/ self tests targeting 
Qpidd broker on Fedora 19 x64.
            Reporter: Chuck Rolke


Qpidd rejects a filter created with
{noformat}
filters.Add(new Symbol("f1"), new 
DescribedValue("apache.org:selector-filter:string", "sn = 100"));
{noformat}
with error message
{noformat}
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
{noformat}

Changing the source code to 
{noformat}
filters.Add(new Symbol("f1"), new DescribedValue(new 
Symbol("apache.org:selector-filter:string"), "sn = 100"));{noformat}
Fixes the issue. But the error message could be a little more clear about what 
is wrong with the received filter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to