aspose file tools*
The moose likes JBoss/WildFly and the fly likes JBOSS JMS thread monitor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBOSS JMS thread monitor" Watch "JBOSS JMS thread monitor" New topic
Author

JBOSS JMS thread monitor

ravikanth reddy
Ranch Hand

Joined: Aug 18, 2009
Posts: 46
Hello Experts,

Is there any way to check how many max threads are invoking to consume a message.

I have a queue and two consumers consuming messaged based on the client-id property. If my queue grows is there any way to use more threads to consume the message fast.



jboss-service.xml thread size is 300.
oracle-ds.xml min connection pool size is 50 and max is 100.

Could some one share knowledge how the threads allocated to pick messages from the queue.


Thanks.


Ravikanth Malyala
Vikram Saxena
Ranch Hand

Joined: Dec 16, 2008
Posts: 53
This can be achieved by increasing the pool size for the Message Driven Bean.

To do so you have to edit your jboss.xml and have the pool size mentioned in the container configurations, this piece of code will increase the poolsize for a particular MDB [having configuration name as "BeanName-Config"], you can have it for all the MDB's by editing the jboss.xml :




Vikram
SCJP 5 , SCBCD [Prep Started ] , WLS 8.1 Server Admin
ravikanth reddy
Ranch Hand

Joined: Aug 18, 2009
Posts: 46
Thanks Vikram.

When the pool size from jms-ds.xml used right now in my case it is configured to 20. if I dont define conatainer-configuration in jboss.xml is it uses from jms-ds.xml. What is the default connection pool size for MDB.


Thanks.
ravikanth reddy
Ranch Hand

Joined: Aug 18, 2009
Posts: 46
This link is very useful for advanced MDB configurations.
http://www.jboss.ru/docs/JBoss-2001-06-28/ch07s07.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBOSS JMS thread monitor