title: Apache CXF Jetty configuration httpj:engine-factory ThrottlingFilter to return HTTP 503 on high load
body: <p>I have the following configuration of Jetty server inside my REST layer of Apache CXF JAX-RS:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;httpj:engine-factory bus="cxf"&gt;
    &lt;!--
      you just need to specify the TLS Server configuration for the certain port
    --&gt;
    &lt;httpj:engine port="${port}"&gt;
      &lt;httpj:tlsServerParameters&gt;
        &lt;sec:keyManagers keyPassword="${keystorePassword}"&gt;
          &lt;sec:keyStore type="JKS"
                        password="${keystorePassword}"
                        file="${keystoreFile}"/&gt;
          &lt;/sec:keyManagers&gt;
          &lt;sec:trustManagers&gt;
            &lt;sec:keyStore type="JKS"
                          password="${keystorePassword}"
                          file="${bookshelf.portal.http.keystoreFile}"/&gt;
        &lt;/sec:trustManagers&gt;
      &lt;/httpj:tlsServerParameters&gt;
  
      &lt;httpj:threadingParameters minThreads="5"
                                 maxThreads="15" /&gt;
  
      &lt;httpj:sessionSupport&gt;true&lt;/httpj:sessionSupport&gt;
    &lt;/httpj:engine&gt;
  &lt;/httpj:engine-factory&gt;
  </code></pre>
  
  <p>I would like to configure Jetty to use ThrottlingFilter to throw HTTP 503 error upon a high load on server.</p>
  
  <p>How do I do that?</p>