Threads

You can define the number of threads dedicated to an MDB listener.

StepsDefining the number of listener threads

  1. In the user configuration script for the EJB-JAR in which the MDB is defined, set the value of the threadCount property; for example:

    <setProperties component="ejb.components.cmstests.MyTopicListener">
       <messageListener threadCount="1" /> 
    </setProperties>
    

    NoteTo enable EAServer to create multiple instances of the MDB, set the threadCount property to a value greater than 1.