Configuring the message-driven bean thread count for Distribution engine

The Distribution engine supports configuring the message-driven bean (MDB) thread count for the MAIN, BUNDLE, FILE, and BATCH queues.

These parameters are defined in the following Distribution engine server.xml file.
<jmsActivationSpec id="Presentment_EJBEAR/Presentment_EJB/PresentmentMDB">
        <properties.wmqJms destinationRef="jms/presentment/PresentmentQ" 
                        maxPoolDepth="${MDB_THREADS_MAIN}"
  . . .
<jmsActivationSpec id="Presentment_EJBEAR/Presentment_EJB/BundleMDB">
        <properties.wmqJms destinationRef="jms/presentment/BundleQ" 
                        maxPoolDepth="${MDB_THREADS_BUNDLE}"
  . . .
<jmsActivationSpec id="Presentment_EJBEAR/Presentment_EJB/FileMDB">
        <properties.wmqJms destinationRef="jms/presentment/FileQ"
                        maxPoolDepth="${MDB_THREADS_FILE}"
  . . .
<jmsActivationSpec id="Presentment_EJBEAR/Presentment_EJB/BatchMDB">
        <properties.wmqJms destinationRef="jms/presentment/BatchQ"
                        maxPoolDepth="${MDB_THREADS_BATCH}"
The default values for these variables are set in the server.xml within the image.
<!-- MDB Threads -->
<variable name="MDB_THREADS_BUNDLE"       defaultValue="2"/>
<variable name="MDB_THREADS_FILE"         defaultValue="2"/>
<variable name="MDB_THREADS_MAIN"         defaultValue="2"/>
<variable name="MDB_THREADS_BATCH"        defaultValue="2"/>
You can override these variable values by providing a custom XML snippet. For example, dist-mdb-thread-override.xml.
<server>
  <variable name="MDB_THREADS_BUNDLE"       defaultValue="5"/>
  <variable name="MDB_THREADS_FILE"         defaultValue="5"/>
  <variable name="MDB_THREADS_MAIN"         defaultValue="10"/>
  <variable name="MDB_THREADS_BATCH"        defaultValue="5"/>
</server>

To make this XML snippet available to the Distribution engine through a persistent volume or configmap, follow the steps in Updating the Liberty server configuration server.xml.