Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 9954 invoked from network); 21 Nov 2007 10:53:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Nov 2007 10:53:05 -0000 Received: (qmail 74499 invoked by uid 500); 21 Nov 2007 10:52:52 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 74182 invoked by uid 500); 21 Nov 2007 10:52:52 -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 74173 invoked by uid 99); 21 Nov 2007 10:52:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2007 02:52:52 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2007 10:52:41 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IunC6-0001PN-MU for users@activemq.apache.org; Wed, 21 Nov 2007 02:52:34 -0800 Message-ID: <13874866.post@talk.nabble.com> Date: Wed, 21 Nov 2007 02:52:34 -0800 (PST) From: JohnOldman To: users@activemq.apache.org Subject: Problem changing from "AUTO_ACKNOWLEDGE" to "SESSION_TRANSACTED" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: john.oldman@mygameskills.com X-Virus-Checked: Checked by ClamAV on apache.org Hi Using: CMS 2.1.1 ActiveMQ 4.1.1 SUSE 10.2 Based on the sample code, have set up a simple client/server queue, using createSession with AUTO_ACKNOWLEDGE. Messages appear to work as expected. However, I want to eventually end up with a failover setup, with two servers, and therefore need to leave the message in the queue until I know it has been processed by the working server. Now I have tried using createSession with SESSION_TRANSACTED to keep the message in the queue, then calling commit() when the server has finished processing the message, but keep getting core dumps. Is this approach to using SESSION_TRANSACTED / commit() the correct way to be running CMS? Thanks John -- View this message in context: http://www.nabble.com/Problem-changing-from-%22AUTO_ACKNOWLEDGE%22-to-%22SESSION_TRANSACTED%22-tf4849348s2354.html#a13874866 Sent from the ActiveMQ - User mailing list archive at Nabble.com.