All Downloads are FREE. Search and download functionalities are using the official Maven repository.

subsystem-templates.ejb3.xml Maven / Gradle / Ivy

<?xml version='1.0' encoding='UTF-8'?>
<!--  See src/resources/configuration/ReadMe.txt for how the configuration assembly works -->
<config default-supplement="default">
   <extension-module>org.jboss.as.ejb3</extension-module>
   <subsystem xmlns="urn:jboss:domain:ejb3:5.0">
       <session-bean>
           <stateless>
               <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>
           </stateless>
           <?STATEFUL-BEAN?>
           <singleton default-access-timeout="5000"/>
       </session-bean>
       <?MDB?>
       <pools>
           <bean-instance-pools>
               <strict-max-pool name="mdb-strict-max-pool" derive-size="from-cpu-count" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
               <strict-max-pool name="slsb-strict-max-pool" derive-size="from-worker-pools" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
           </bean-instance-pools>
       </pools>
       <caches>
           <cache name="simple"/>
           <cache name="distributable" passivation-store-ref="infinispan" aliases="passivating clustered"/>
       </caches>
       <passivation-stores>
           <passivation-store name="infinispan" cache-container="ejb" max-size="10000"/>
       </passivation-stores>
       <async thread-pool-name="default"/>
       <timer-service thread-pool-name="default" default-data-store="default-file-store">
           <data-stores>
               <file-data-store name="default-file-store" path="timer-service-data" relative-to="jboss.server.data.dir"/>
           </data-stores>
       </timer-service>
       <remote connector-ref="http-remoting-connector" thread-pool-name="default">
           <channel-creation-options>
               <option name="READ_TIMEOUT" value="${prop.remoting-connector.read.timeout:20}" type="xnio"/>
               <option name="MAX_OUTBOUND_MESSAGES" value="1234" type="remoting"/>
           </channel-creation-options>
       </remote>
       <thread-pools>
           <thread-pool name="default">
               <max-threads count="10"/>
               <keepalive-time time="100" unit="milliseconds"/>
           </thread-pool>
       </thread-pools>
       <?IIOP?>
       <default-security-domain value="other"/>
       <default-missing-method-permissions-deny-access value="true" />
       <log-system-exceptions value="true" />
   </subsystem>
   <supplement name="default">
      <replacement placeholder="STATEFUL-BEAN">
         <stateful default-access-timeout="5000" cache-ref="simple" passivation-disabled-cache-ref="simple"/>
      </replacement>
   </supplement>
   <supplement name="full" includes="default">
      <replacement placeholder="IIOP">
         <iiop enable-by-default="false" use-qualified-name="false"/>
      </replacement>
      <replacement placeholder="MDB">
         <mdb>
             <resource-adapter-ref resource-adapter-name="${ejb.resource-adapter-name:activemq-ra.rar}"/>
             <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/>
         </mdb>
      </replacement>
   </supplement>
   <supplement name="ha">
      <replacement placeholder="STATEFUL-BEAN">
         <stateful default-access-timeout="5000" cache-ref="distributable" passivation-disabled-cache-ref="simple"/>
      </replacement>
   </supplement>
   <supplement name="full-ha" includes="full ha"/>
</config>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy