Hi

I am using a JMS topic for communication between a producer and a consumer. The 
producer generates large quantities of data (many large streaming messages). 

I would expect that in case the consumer is slow, JBOSS would throttle the 
producer. But I am noticing that the the producer keeps producing the messages 
till the JBoss messaging server runs out of heap space (OutOfMemory Exception). 

Is it possible to control this behavior - to have flow control between the 
producer and consumer? If so, how?

I am using 
* JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
* JBoss Messaging 1.0.1.CR2 server
on Linux x86 environment with Java1.5.

I am using this topic - 'testTopic' preconfigured in the system. Its 
configuration as printed in the output while server starts up -
INFO  [Topic] Topic[/topic/testTopic] started, fullSize=75000, pageSize=2000, 
downCacheSize=2000.

Thanks
Raghu



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953544#3953544

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953544

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to