Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 13046 invoked from network); 11 Oct 2007 18:12:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Oct 2007 18:12:02 -0000 Received: (qmail 12901 invoked by uid 500); 11 Oct 2007 18:11:49 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 12880 invoked by uid 500); 11 Oct 2007 18:11:49 -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 12871 invoked by uid 99); 11 Oct 2007 18:11:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 11:11:49 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 146.232.64.12 is neither permitted nor denied by domain of fullung@gmail.com) Received: from [146.232.64.12] (HELO mail1.sun.ac.za) (146.232.64.12) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 18:11:52 +0000 Received: from lunglet.farside.sun.ac.za ([146.232.133.168] helo=lunglet) by mail1.sun.ac.za with smtp (Exim 4.50) id 1Ig2UQ-0004Z6-1T for users@activemq.apache.org; Thu, 11 Oct 2007 20:10:30 +0200 Message-ID: <00a501c80c32$01f990d0$a885e892@sun.ac.za> From: "Albert Strasheim" To: References: <13152461.post@talk.nabble.com> Subject: Re: ActiveMQ C++ (CMS) problems Date: Thu, 11 Oct 2007 20:10:29 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Virus-Checked: Checked by ClamAV on apache.org Hello, If you could provide us with a basic sample of the code that exhibits the problems you're seeing, that would be very helpful. Even better, you might consider creating a AMQCPP JIRA issue, and attaching the code there. Regards, Albert ----- Original Message ----- From: "SteveDicks" To: Sent: Thursday, October 11, 2007 11:48 AM Subject: ActiveMQ C++ (CMS) problems > > Hi, > I'm using CMS 2.1 with ActiveMQ 4.1 in transactional mode, and using > callbacks (onMessage) to alert me to a message arriving. However I have 2 > problems: > > a) If I call Session::commit() in onMessage() (which none of the examples > do) then I get a core dump. > b) Having worked around (a), calling Session::rollback() appears to have > no > effect - I have to close and re-open the session to get the desired effect > of the message being put back into the MQ to be retrieved again.