-
1. Re: How to Configure the # of instances of an MDB
adrian.brock Dec 22, 2003 1:30 PM (in response to sick1)There are two settings:
jboss.xml/invoker-proxy-bindings/invoker-proxy-binding/proxy-factory-config/MaximumSize
controls the number of concurrent jms sessions (default 15)
jboss.xml/container-configuations/container-configuration/container-pool-conf/MaximumSize
controls the number of MDB instances (default 100)
You will find all this information in docs/dtd/jboss_3_2.dtd
Here is something I added for 3.2.4 that provides a singleton MDB
http://cvs.sourceforge.net/viewcvs.py/jboss/jboss/src/etc/conf/default/standardjboss.xml?r1=1.47.2.15&r2=1.47.2.16
Regards,
Adrian -
2. Re: How to Configure the # of instances of an MDB
geirwilly Feb 11, 2004 10:57 AM (in response to sick1)Is it possible to configure the max number of concurrent mdbs on i"ndividual" mdb-basis. Not as a global setting for all mdb's.
-
3. Re: How to Configure the # of instances of an MDB
yxyang Feb 11, 2004 8:18 PM (in response to sick1)hi, adrian
what is the relation between queue, MDBs which watch the queue, and threads are running the MDB codes?
I have a few MDBs (different class and do different businesses) which are watching a specific queue by using message selectors. I configed these MDBs to be singleton MDBs.
My question is : how many threads will be used by jboss to deliver the messages to these MDBs? What i expected is that each singleton MDB will has one thread. So, for this specific queue, there are a few threads to do the message delivering. Is this assumption correct?
Because if one queue has only one thread, then the performance will be decreased too much by employing singleton MDB.
Regards
yang -
4. Re: How to Configure the # of instances of an MDB
joshlam Feb 27, 2004 5:30 PM (in response to sick1)"adrian@jboss.org" wrote:
There are two settings:
jboss.xml/invoker-proxy-bindings/invoker-proxy-binding/proxy-factory-config/MaximumSize
controls the number of concurrent jms sessions (default 15)
jboss.xml/container-configuations/container-configuration/container-pool-conf/MaximumSize
controls the number of MDB instances (default 100)
Hi Adrian,
Does the above work with xDoclet? I am using the jBoss IDE 1.2.2 within Eclipse 2.1.1 but it does not seem to recognize the xDoclet tag for container-configurations , container-pool-conf. Normally I would start with a @jboss. and then hit 'Control-space' to auto complete, when I do that it only recognizes a 'container-configuration' which has a name tag following.
Also, can I use the above configuration to configurate one instance of a particular MDB (while the rest uses the default value)?
Thanks.
--
Josh -
5. Re: How to Configure the # of instances of an MDB
adrian.brock Feb 29, 2004 6:13 PM (in response to sick1)You define container configurations using a merge file
jboss-container.xml
Regards,
Adrian -
6. Re: How to Configure the # of instances of an MDB
cvandyck May 5, 2004 3:24 PM (in response to sick1)"adrian@jboss.org" wrote:
Here is something I added for 3.2.4 that provides a singleton MDB
http://cvs.sourceforge.net/viewcvs.py/jboss/jboss/src/etc/conf/default/standardjboss.xml?r1=1.47.2.15&r2=1.47.2.16
Adrian
This is insanely useful and you have shaved hours off of the development of a feature I needed implemented today. Thank you.