blob: 2996c32cd9d2d6e05856493786bd478bbc2d33e2 [file] [log] [blame]
<div class="wiki-content maincontent">
<p>It depends a little on the <link><page ri:content-title="QoS"></page></link> but in general we implement <em>flow control</em> which means that when we have a very fast producer and a slow consumer, when we get to a high water mark of outstanding messages we will start to tell the producer to slow down (which occurs inside the JMS client automatically, no application code changes are required). The slow down messages will increase exponentially over time until things get back into balance again.</p>
<p>Flow control avoids unnecessary resouce exhaustion and is particularly useful in non-durable messaging modes to avoid running out of memory / disk on a node.</p></div>