<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<tt>On Wednesday 21 July 2010 08:31 PM, Clebert Suconic wrote:</tt>
<blockquote cite="mid:4C470BE4.6020805@redhat.com" type="cite"><tt>On
07/21/2010 09:37 AM, Dimitris Andreadis wrote:
<br>
</tt>
<blockquote type="cite"><tt>Doesn't work. 2 is the minimum, I think.
<br>
</tt></blockquote>
<tt><br>
Yes.. 2 is the minimum.
<br>
<br>
As I said.... the best would be to have no persistence on development
<br>
<a class="moz-txt-link-freetext" href="http://hornetq.sourceforge.net/docs/hornetq-2.1.0.Final/user-manual/en/html/persistence.html#persistence.enabled">http://hornetq.sourceforge.net/docs/hornetq-2.1.0.Final/user-manual/en/html/persistence.html#persistence.enabled</a>
<br>
<br>
</tt>
</blockquote>
<tt>I am not really sure disabling persistence is a good thing. From
what I understand of that section:</tt><tt><br>
<br>
<quote>In some situations, zero persistence is sometimes required
for a messaging system. Configuring HornetQ to perform zero persistence
is straightforward. Simply set the parameter </tt><tt class="literal">persistence-enabled</tt><tt>
in </tt><tt class="literal">hornetq-configuration.xml</tt><tt> to </tt><tt
class="literal">false</tt><tt>. Please note that if you set this
parameter to false, then <span class="emphasis"><em>zero</em></span>
persistence will occur. That means no bindings data, message data,
large message data, duplicate id caches or paging data will be
persisted.</quote><br>
</tt>
<p><tt>I guess this is going to break functionality. For example,
consider:<br>
- N messages sent to a queue, to which a MDB listens<br>
- X are delivered to the MDB<br>
- Server is shutdown<br>
- Ideally the remaining messages should be available on server restart.<br>
</tt></p>
<p><tt>Disabling persistence, I guess is going to break that. I don't
think developers would want that _by default_. <br>
</tt></p>
<p><tt>-Jaikiran<br>
</tt></p>
<tt><br>
</tt>
</body>
</html>