Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Are JMS Queue and Topic limited?

 
hani Ibrahim
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


 
Joseph Sweet
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic