0 Replies Latest reply on Oct 22, 2015 5:04 AM by ramiseesniblic

    Explanation of attribute in subsystem xmlns="urn:jboss:domain:resource-adapters:1.1"

    ramiseesniblic

      Hello.

      I have been configuring my resource adapters in the standalon.xml file and I have a question about what the pool sizes actually do.

       

      I have a resource adapter configured as below:

       

                      <resource-adapter id="myAdapter.rar">

                          <archive>

                              myAdapter.rar

                          </archive>

                          <bootstrap-context>MyBootstrapContext</bootstrap-context>

                          <transaction-support>XATransaction</transaction-support>

                          <connection-definitions>

                              <connection-definition class-name="<class>" jndi-name="java:jboss/ra/MyJCA" pool-name="/MyJCA">

                                  <xa-pool>

                                      <max-pool-size>100</max-pool-size>

                                      <wrap-xa-resource>true</wrap-xa-resource>

                                  </xa-pool>

                              </connection-definition>

                          </connection-definitions>

                      </resource-adapter>

       

      and I also have a bootstrap context configured as below (in :subsystem xmlns="urn:jboss:domain:jca:1.1")

       

                  <workmanager name="MyWorkManager">

                      <short-running-threads>

                          <queue-length count="10000"/>

                          <max-threads count="100"/>

                          <keepalive-time time="60" unit="seconds"/>

                      </short-running-threads>

                  </workmanager>

                  <bootstrap-contexts>

                      <bootstrap-context name="MyBootstrapContext" workmanager="MyWorkManager"/>

                  </bootstrap-contexts>

       

      Are the max threads and max-pool-size effectively the same attribute, or have I miss-configured it?