Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
antonwierenga committed Mar 4, 2017
2 parents e5c1505 + f264a16 commit 8da001e
Showing 1 changed file with 24 additions and 9 deletions.
33 changes: 24 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,19 +149,26 @@ Lists queues.

##### Parameters:
- filter (list queues with the specified filter in the name)
- no-consumers (list queues with no consumers)
- pending (list queues for which the number of pending messages meets the pending filter)
- enqueued (list queues for which the number of enqueued messages meets the enqueued filter)
- dequeued (list queues for which the number of dequeued messages meets the dequeued filter)
- consumers (list queues for which the number of consumers meets the consumers filter)

Example 1:`queues --filter foo`

Example 2:`queues --no-consumers`
Example 2:`queues --pending >0 --consumers =0`

### list-topics
Lists topics.

##### Parameters:
- filter (list topics with the specified filter in the name)
- enqueued (remove topics for which the number of enqueued messages meets the enqueued filter)
- dequeued (remove topics for which the number of dequeued messages meets the dequeued filter)

Example:`topics --filter foo`
Example 1:`topics --filter foo`

Example 2:`topics --enqueued >0`

### move-messages
Moves messages from a queue to another queue.
Expand All @@ -178,11 +185,14 @@ Purges all queues.
- force (no prompt for confirmation)
- dry-run (use this to test what is going to be purged, no queues are actually purged)
- filter (queues with the specified filter in the name)
- no-consumers (queues with no consumers)
- pending (purge queues for which the number of pending messages meets the pending filter)
- enqueued (purge queues for which the number of enqueued messages meets the enqueued filter)
- dequeued (purge queues for which the number of dequeued messages meets the dequeued filter)
- consumers (purge queues for which the number of consumers meets the consumers filter)

Example 1:`purge-all-queues`

Example 2:`purge-all-queues --filter foo --no-consumers --dry-run`
Example 2:`purge-all-queues --filter foo --consumers =0 --dry-run`

### purge-queue
Purges a queues.
Expand All @@ -205,11 +215,14 @@ Removes all queues.
- force (no prompt for confirmation)
- dry-run (use this to test what is going to be removed, no queues are actually removed)
- filter (queues with the specified filter in the name)
- no-consumers (queues with no consumers)

- pending (remove queues for which the number of pending messages meets the pending filter)
- enqueued (remove queues for which the number of enqueued messages meets the enqueued filter)
- dequeued (remove queues for which the number of dequeued messages meets the dequeued filter)
- consumers (remove queues for which the number of consumers meets the consumers filter)

Example 1:`remove-all-queues`

Example 2:`remove-all-queues --filter foo --no-consumers --dry-run`
Example 2:`remove-all-queues --filter foo --consumers =0 --dry-run`

### remove-all-topics
Removes all topics.
Expand All @@ -218,10 +231,12 @@ Removes all topics.
- force (no prompt for confirmation)
- dry-run (use this to test what is going to be removed, no queues are actually removed)
- filter (queues with the specified filter in the name)
- enqueued (remove topics for which the number of enqueued messages meets the enqueued filter)
- dequeued (remove topics for which the number of dequeued messages meets the dequeued filter)

Example 1:`remove-all-topics`

Example 2:`remove-all-topics --filter foo --dry-run`
Example 2:`remove-all-topics --filter foo --enqueued =0 --dry-run`

### remove-queue
Removes a queue.
Expand Down

0 comments on commit 8da001e

Please sign in to comment.