## Attributes (2)

- max-concurrent-requests - Maximum number of concurrent requests

  Type | INT
  Does the attribute allow expression? | true
  Where is the attribute stored? | configuration
  Access Type | read-write
  Is restarted required? | all-services
  Min | 1
  Max | 2147483647
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "INT"
          },
          "description" : "Maximum number of concurrent requests",
          "expressions-allowed" : true,
          "required" : true,
          "nillable" : false,
          "min" : 1,
          "max" : 2147483647,
          "stability" : "default",
          "access-type" : "read-write",
          "storage" : "configuration",
          "restart-required" : "all-services",
          "capability-reference" : null
      }

- queue-size - Number of requests to queue before they start being rejected

  Type | INT
  Default Value | 0
  Is the attribute nillable? | true
  Does the attribute allow expression? | true
  Where is the attribute stored? | configuration
  Access Type | read-write
  Is restarted required? | all-services
  Min | 0
  Max | 2147483647
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "INT"
          },
          "description" : "Number of requests to queue before they start being rejected",
          "expressions-allowed" : true,
          "required" : false,
          "nillable" : true,
          "default" : 0,
          "min" : 0,
          "max" : 2147483647,
          "stability" : "default",
          "access-type" : "read-write",
          "storage" : "configuration",
          "restart-required" : "all-services",
          "capability-reference" : null
      }

## Operations (2)

- add - Add request limiter

  Request Parameter | Type | Required | Expressions Allowed | Default value | Description
  --- | --- | --- | --- | --- | ---
  max-concurrent-requests | INT | true | true |  | Maximum number of concurrent requests
  queue-size | INT | false | true | 0 | Number of requests to queue before they start being rejected

  Raw DMR model |
      {
          "operation-name" : "add",
          "description" : "Add request limiter",
          "request-properties" : {
              "max-concurrent-requests" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "INT"
                  },
                  "description" : "Maximum number of concurrent requests",
                  "expressions-allowed" : true,
                  "required" : true,
                  "nillable" : false,
                  "min" : 1,
                  "max" : 2147483647,
                  "stability" : "default"
              },
              "queue-size" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "INT"
                  },
                  "description" : "Number of requests to queue before they start being rejected",
                  "expressions-allowed" : true,
                  "required" : false,
                  "nillable" : true,
                  "default" : 0,
                  "min" : 0,
                  "max" : 2147483647,
                  "stability" : "default"
              }
          },
          "reply-properties" : {},
          "stability" : "default",
          "read-only" : false,
          "restart-required" : "resource-services",
          "runtime-only" : false
      }

- remove - removes limiter

  Raw DMR model |
      {
          "operation-name" : "remove",
          "description" : "removes limiter",
          "request-properties" : {},
          "reply-properties" : {},
          "stability" : "default",
          "read-only" : false,
          "restart-required" : "resource-services",
          "runtime-only" : false
      }

## Galleon Features

Galleon features are to be used when creating Galleon feature-packs.

- subsystem.undertow.configuration.filter.request-limit

      <feature spec="subsystem.undertow.configuration.filter.request-limit">
        <param name="request-limit" value="{resource name}"/>
        <param name="max-concurrent-requests" value="{value}"/>
        <param name="queue-size" value="{value}"/>
      <feature/>