You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2014/06/13 14:58:02 UTC

[jira] [Commented] (QPID-5324) C++ broker ignores unrecognised filter in QMF methods

    [ https://issues.apache.org/jira/browse/QPID-5324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14030589#comment-14030589 ] 

Justin Ross commented on QPID-5324:
-----------------------------------

Should this issue remain open?

> C++ broker ignores unrecognised filter in QMF methods
> -----------------------------------------------------
>
>                 Key: QPID-5324
>                 URL: https://issues.apache.org/jira/browse/QPID-5324
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>            Reporter: JAkub Scholz
>            Assignee: Gordon Sim
>
> Some QMF methods - for example purge or queueMoveMessages - support filers as one their parameters. The filter allows to specify the messages which should be affected by the methods - e.g. which messages should be purged. Unfortunately, if the broker doesn't recognize the filter, it simply ignores it and uses empty filter instead:
> 2013-11-09 18:15:45 [Broker] error Ignoring unrecognized message filter: '{subject:test}'
> Such behaviour doesn't make sense - if the client who called the QMF method specified the filter, it is obvious that he didn't wanted to apply the method to all messages. Especially with methods like purge, this can lead to severe message loss!
> Therefore if the broker doesn't recognize the filter, it should throw an error and never execute the method.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org