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

Setting JBoss JMS Queue size

Brian Pipa
Ranch Hand

Joined: Sep 29, 2003
Posts: 299
Hi all,

I have a JMS queue setup on JBoss and it works fine. I'm trying to figure out how to set the number of messages on the queue that get processed at a time. I heard/read somewhere that the default was 5 or 10, but I need to change this. I have googled and can't find the answer to this anywhere and I know you can set this. I don't wnat to set the number of messages that can be on the queue at once, but rather, the number of messages that get processed at a time.

Thanks in advance,
brian


My Java Freeware:<br />MACCC - <a href="http://maccc.pipasoft.com" target="_blank" rel="nofollow">http://maccc.pipasoft.com</a><br />Nator - <a href="http://nator.pipasoft.com" target="_blank" rel="nofollow">http://nator.pipasoft.com</a>
Jeff Stelling
Greenhorn

Joined: Jun 28, 2011
Posts: 3
Hi Brian,
Not sure if you still need an answer to this, but I will post a solution in case anybody else is looking.

What you need to do is set the pool size of the MDB to the desired number of consumers.

For EJB 3 on Jboss 5.1 to set it to 3 consumers. This can also be done in the XML files but I forget how. A quick google search will answer that for you.



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Setting JBoss JMS Queue size