From activemq-dev-return-4189-apmail-geronimo-activemq-dev-archive=geronimo.apache.org@geronimo.apache.org Fri Dec 08 19:10:04 2006 Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 19579 invoked from network); 8 Dec 2006 19:10:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2006 19:10:03 -0000 Received: (qmail 38322 invoked by uid 500); 8 Dec 2006 19:10:11 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 38195 invoked by uid 500); 8 Dec 2006 19:10:10 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 38186 invoked by uid 99); 8 Dec 2006 19:10:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 11:10:10 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=HTML_00_10,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of amq.user@gmail.com designates 66.249.82.227 as permitted sender) Received: from [66.249.82.227] (HELO wx-out-0506.google.com) (66.249.82.227) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 11:09:59 -0800 Received: by wx-out-0506.google.com with SMTP id s18so827623wxc for ; Fri, 08 Dec 2006 11:09:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=f+3fcPWXloZduaoEt2joliOQqjatMJrsIf4i+zFIFKusuEDZBgQrqNtA0nMQ7ubyY2Lim9/EkwjKisM1tj4zbEvhW2iE4uMGHZCaD+TZZluaNLys7iUOfRg9vp/iiXb6SjMIkXXjgNlg7SwLBGOh5rD6RqfRPJyZ4+LjY6sPuXE= Received: by 10.90.105.20 with SMTP id d20mr4585471agc.1165604978707; Fri, 08 Dec 2006 11:09:38 -0800 (PST) Received: by 10.90.97.13 with HTTP; Fri, 8 Dec 2006 11:09:38 -0800 (PST) Message-ID: Date: Fri, 8 Dec 2006 14:09:38 -0500 From: "amq user" To: activemq-dev Subject: active-cpp persistent problem MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_55980_24771478.1165604978687" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_55980_24771478.1165604978687 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm struggling with persistent option in activemq-cpp client. (my java client does the trick) part of my code looks like: producer->setDeliveryMode( DeliveryMode::PERSISTANT ); The problem is after I send a message, and stop the broker. The message is gone. If I send a lot of message exceeding the memory size the broker handles, I got resource unavailable exception. It looks to me the message I send over using cpp doesn't instruct the broker to use persistent. I'm using ActiveMQ 4.0.2, and activemq-cpp-1.0. Please help. What else should I check. Did I miss anything? Thanks ------=_Part_55980_24771478.1165604978687--