This content has been marked as final.
Show 5 replies
-
1. Re: How to change number of consumers for MDBs deployed with HornetQ?
jmesnil May 6, 2010 4:29 AM (in response to swapnonil.mukherjee)You can set MaxSession property on the MDB annotation:
@ActivationConfigProperty(propertyName = "maxSession", propertyValue = "30")
The doc is not up to date on these properties but this should work
-
2. Re: How to change number of consumers for MDBs deployed with HornetQ?
ataylor May 6, 2010 4:38 AM (in response to jmesnil)Jeff is correct, however this will only make a difference to throughput if the MDB pool size is at least the same size. Not sure how to configure this, it is in the JBoss docs somewhere.
-
3. Re: How to change number of consumers for MDBs deployed with HornetQ?
swapnonil.mukherjee May 6, 2010 6:50 AM (in response to ataylor)Hi Jeff,
We have set the MDB MaxPoolSize JMX attribute inside JBoss to 50.
Does this means that even if I set the number of consumers for any given queue using the @ActivationConfigProperty annotation inside MDB to say 60, only 50 instances of an MDB will work concurrently?
What I am trying to understand what exactly would be my effective throughput?
-
4. Re: How to change number of consumers for MDBs deployed with HornetQ?
ataylor May 6, 2010 6:39 AM (in response to swapnonil.mukherjee)1 of 1 people found this helpfulyes thats correct.
-
5. Re: How to change number of consumers for MDBs deployed with HornetQ?
swapnonil.mukherjee May 6, 2010 6:51 AM (in response to ataylor)Ok so the effective throughput would be 50.
Thanks Andy.