Bug 766602 - UG 3.1 qpid-config uses --limit-policy types with hyphens, not with underscore characters
Summary: UG 3.1 qpid-config uses --limit-policy types with hyphens, not with underscor...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: Messaging_Programming_Reference
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: 2.1.2
: ---
Assignee: Cheryn Tan
QA Contact: Leonid Zhaldybin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-12 12:26 UTC by Leonid Zhaldybin
Modified: 2014-11-09 22:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-02 05:31:23 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Leonid Zhaldybin 2011-12-12 12:26:32 UTC
Description of problem:
Messaging User Guide version 2 contains in 3.1 "Producer Flow Control" the following description of --limit-policy option of the command 'qpid-config [options] add queue queue_name [add queue options]':

--limit-policy TYPE
    Action to take when queue limit is reached. TYPE can be:

        reject
        flow_to_disk
        ring
        ring_strict 

Two of these TYPEs (flow_to_disk and ring_strict ) are not accepted by qpid-config command, they should contain hyphens instead of the underscore characters. Find the error message returned by qpid-config below:
qpid-config: error: option --limit-policy: invalid choice: 'flow_to_disk' (choose from 'none', 'reject', 'flow-to-disk', 'ring', 'ring-strict')


Version-Release number of selected component (if applicable):
2.0

How reproducible:
always

Steps to Reproduce:
1. Read Messaging User Guide v. 2.0, PDF page 18.
  
Actual results:
Two of the documented limit policy types are not accepted by the qpid-config tool.

Expected results:
Limit policy types for qpid-config tool should use hyphens instead of the underscore characters.

Additional info:

Comment 1 Cheryn Tan 2012-01-04 06:22:12 UTC
Changed to "flow-to-disk" and "ring-strict".

Red_Hat_Enterprise_MRG-Messaging_User_Guide-2-en-US-2-15

http://documentation-stage.bne.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/2/html/Messaging_User_Guide/chap-Messaging_User_Guide-Queues.html

Comment 2 Leonid Zhaldybin 2012-01-10 11:02:52 UTC
-> VERIFIED

Comment 3 Cheryn Tan 2012-05-02 05:31:23 UTC
Documents have been published on http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/index.html as part of the MRG-M 2.1.2 update.


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