• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2586
  • Last Modified:

How large and how many messages can JBoss JMS queue handle?

I've got an application that will be using JMS to communicate between remote locations, and I'll be sending messages of 10-100 MB routinely (perhaps 2000 times a day).

Does anyone know the RAM requirements, max message size, performance concerns, or ways to tune JBoss to allow for such large messages?

Any info appreciated.
0
sbeckett225
Asked:
sbeckett225
1 Solution
 
KavarCommented:
max message size is technically limited to your ram,
the overhead can be as much as 24k per message (in rare cases)
your looking at about 4k per message in over head, in otherwords, DISK space and NETWORK bandwidth are more likely to be limiting factors.
0
 
yuapCommented:
The title of this question suggests that the problem is about queue size, but in the body of the question it addresses message size.  No matter, since the question was posted in Apr 2004, then it must apply to the JBoss MQ JMS implementation.  JBoss MQ has since been replace by JBoss Messaging ... 1.4.2 at this posting date.

I'm currently working on a team that will use JBoss's JMS (JBoss Messaging) service and we want to make sure queues do not overflow and lose messages.  The maximum number of messages can be specified on a queue-by-queue basis.  The parameter which sets the value is FullSize.  This sets the maximum number of messages (not k) per queue.  The default according to the user guide is 75,000, after which it goes to paging (and maybe persistent storage - default is Hypersonic db).  However, my tests show default FullSize=200,000.  

I'm trying to find where in the configuration files (xml or properties) this value is set.  I'm hoping FullSize can be set in config files and not programmatically.

I will pose this as a new question, but I thought I would post a comment here first since the question/answer is outdated.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now