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?
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.
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.