This content has been marked as final.
Show 6 replies
-
1. Re: Limiting the MDB pool size to 1
jnorris10 Feb 12, 2007 5:34 PM (in response to shadowfury)"shyrich" wrote:
Is it possible to limit the size of the MDB pool to 1 so that there is only one bean consuming messages off the queue? If so, how would this be configured?
+1. I am also interesting in this type of configuration. I want to be able to limit the number of consumer threads for a given queue for resource management purposes. -
2. Re: Limiting the MDB pool size to 1
timfox Feb 12, 2007 5:41 PM (in response to shadowfury)This is not JBoss Messaging config, it is MDB container config. The MDB container is agnostic as to the jms provider, whether it is JBoss Messaing, JBossMQ or some other provider.
See
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMDB
Look at the maximumSize parameter. -
3. Re: Limiting the MDB pool size to 1
jnorris10 Feb 12, 2007 8:10 PM (in response to shadowfury)"timfox" wrote:
This is not JBoss Messaging config, it is MDB container config. The MDB container is agnostic as to the jms provider, whether it is JBoss Messaing, JBossMQ or some other provider.
See
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMDB
Look at the maximumSize parameter.
Great! Thanks for the quick response. -
4. Re: Limiting the MDB pool size to 1
jnorris10 Feb 15, 2007 4:06 PM (in response to shadowfury)"jnorris10" wrote:
"timfox" wrote:
This is not JBoss Messaging config, it is MDB container config. The MDB container is agnostic as to the jms provider, whether it is JBoss Messaing, JBossMQ or some other provider.
See
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMDB
Look at the maximumSize parameter.
Great! Thanks for the quick response.
Just for those following this thread, if you want to tune the MDB container pooling options in EJB3, read up on @org.jboss.annotation.ejb.PoolClass in the documentation. -
5. Re: Limiting the MDB pool size to 1
paduffy Mar 5, 2007 7:08 PM (in response to shadowfury)Can you provide a more specific reference please?
http://docs.jboss.org/ejb3/embedded/api/org/jboss/annotation/ejb/PoolClass.html is not really helpful.
Much appreciated.
Thank you -
6. Re: Limiting the MDB pool size to 1
timfox Mar 5, 2007 10:08 PM (in response to shadowfury)You should ask in the ejb3 user forum