[
https://issues.apache.org/jira/browse/QPID-5324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Ross updated QPID-5324:
------------------------------
Fix Version/s: 0.26
> 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
> Fix For: 0.26
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]