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

ASF subversion and git services commented on QPID-5324:
-------------------------------------------------------

Commit 1541002 from [~gsim] in branch 'qpid/trunk'
[ https://svn.apache.org/r1541002 ]

QPID-5324: log error for rejected filter (as well as throwing exception)

> 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.1#6144)

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

Reply via email to