[
https://issues.apache.org/jira/browse/QPID-5324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819171#comment-13819171
]
ASF subversion and git services commented on QPID-5324:
-------------------------------------------------------
Commit 1540794 from [~gsim] in branch 'qpid/trunk'
[ https://svn.apache.org/r1540794 ]
QPID-5324: don't ignore unrecognised filter, throw 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: [email protected]
For additional commands, e-mail: [email protected]