Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 29240 invoked from network); 3 Apr 2007 01:42:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Apr 2007 01:42:18 -0000 Received: (qmail 30187 invoked by uid 500); 3 Apr 2007 01:42:25 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 30161 invoked by uid 500); 3 Apr 2007 01:42:24 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 30152 invoked by uid 99); 3 Apr 2007 01:42:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 18:42:24 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [63.146.75.227] (HELO dc01.transerainc.com) (63.146.75.227) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 18:42:15 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C77591.42785EA9" Subject: Question on persistent flag Date: Mon, 2 Apr 2007 18:41:54 -0700 Message-ID: <6B610AB57E31514E87F9DF80F8EA6AA1017CAF49@dc01.transerainc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Question on persistent flag Thread-Index: Acd1kUIFsAc/Cc+hTxyyal4hx+F9/w== From: "Ramesh Bobba" To: X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C77591.42785EA9 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I ran a quick test with the persistent flag set to true and another one with the flag set to false. In both the cases, I have the consumers subscribed as durable. I publish messages to the topic while the clients are up and while they are down. In both the cases, when the clients come back up, they get all the messages. At this point, I also did the same by stopping the clients, publishing data and stopping and starting the server. Again, when the clients come back up, they get all the messages. This happens irrespective of if the persistent flag is set to true or false. Does that mean that the persistent is only for the producers to make sure that the message got to the broker? =20 Thanks, =20 =20 Ramesh. ------_=_NextPart_001_01C77591.42785EA9--