File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Are JMS Queue and Topic limited? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Are JMS Queue and Topic limited?" Watch "Are JMS Queue and Topic limited?" New topic
Author

Are JMS Queue and Topic limited?

hani Ibrahim
Ranch Hand

Joined: Sep 06, 2006
Posts: 182
Dear all,
im new to JMS.. and run "Hello World JMS" example is there any limitions on JMSQueue and Topic?
in other words,
if i send to queue 10,2000,or infinity objects to be stored in Queue.
and the Consumer (Asynch.)was too late to start to consume.
what is the limitation of size or objects that can be stored in Queue or topic without any problems?

Thanks all.
Amit M Tank
Ranch Hand

Joined: Mar 28, 2004
Posts: 257
Things are not that Straightforward. The capacity of the Queue depends on the vendor. High end Application Servers like Weblogic provides Message paging on JMS server for temporarily swapping messages out from memory when this JMS server's load reaches a specified message threshold.

The maximum number of messages stored in the JMS server like weblogic is configurable. The maximum message quota (between 0 and a positive 64-bit integer) that can be stored in this JMS server. The default value of -1 specifies that there is no WebLogic-imposed limit on the number of messages that can be stored. However, excessive message volume can cause memory saturation, so this value should correspond to the total amount of available system memory relative to the rest of your application load.




Amit Tank
Linked In
Joseph Sweet
Ranch Hand

Joined: Jan 29, 2005
Posts: 327
This is such a detail that i would not expect a beginner to care about. How many tabs can I open in one window of Firefox before the application crashes. First understand the mechanism of messaging, acknowledgment, transactions, message-driven bean. It can be quite convoluted.


We must know, we will know. -- David Hilbert
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Are JMS Queue and Topic limited?