Bug 781484 - [RFE]: Pass a default to the filter argument in purge/reroute/queueMoveMessages QMF methods
Summary: [RFE]: Pass a default to the filter argument in purge/reroute/queueMoveMessag...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-qmf
Version: Development
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Ken Giusti
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On: 734115
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-13 15:27 UTC by Petr Matousek
Modified: 2020-11-04 22:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description Petr Matousek 2012-01-13 15:27:58 UTC
Description of problem:

Filter argument is mandatory in the QMF purge/reroute/queueMoveMessages methods, which is in conflict with the schema description:

  # qpid: call 127 purge 1
  Exception in do_call: %r Incorrect number of arguments: expected 2,
  got 1

  # qpid: schema queue
  <snip>
  filter    field-table  I                if specified, purge only those messages matching this filter
  </snip>

Version-Release number of selected component (if applicable):
python-qpid-0.14-1.el5
python-qpid-qmf-0.14-2.el5
qpid-cpp-client-0.14-3.el5
qpid-cpp-client-devel-0.14-3.el5
qpid-cpp-client-devel-docs-0.14-3.el5
qpid-cpp-client-ssl-0.14-3.el5
qpid-cpp-server-0.14-3.el5
qpid-cpp-server-cluster-0.14-3.el5
qpid-cpp-server-devel-0.14-3.el5
qpid-cpp-server-ssl-0.14-3.el5
qpid-cpp-server-store-0.14-3.el5
qpid-cpp-server-xml-0.14-3.el5
qpid-java-client-0.14-1.el5
qpid-java-common-0.14-1.el5
qpid-java-example-0.14-1.el5
qpid-qmf-0.14-2.el5
qpid-qmf-devel-0.14-2.el5
qpid-tests-0.14-1.el5
qpid-tools-0.14-1.el5

How reproducible:
100%

Steps to Reproduce:
1. # qpid-tool
2. # qpid: call <queue-id> purge 1
  
Actual results:
empty filter "{}" must be explicitly specified for the filter parameter (for not using the filter)

Expected results:
The filter argument is either optional or pass a default in purge/reroute/queueMoveMessages QMF methods


Note You need to log in before you can comment on or make changes to this bug.