File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBOSS JMS thread monitor

 
ravikanth reddy
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Vikram Saxena
Ranch Hand
Posts: 53
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 :



 
ravikanth reddy
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic