Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 76414 invoked from network); 5 Feb 2009 00:02:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2009 00:02:05 -0000 Received: (qmail 11798 invoked by uid 500); 5 Feb 2009 00:02:04 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 11781 invoked by uid 500); 5 Feb 2009 00:02:04 -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 11770 invoked by uid 99); 5 Feb 2009 00:02:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 16:02:04 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bmurphy1976@gmail.com designates 209.85.220.20 as permitted sender) Received: from [209.85.220.20] (HELO mail-fx0-f20.google.com) (209.85.220.20) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2009 00:01:56 +0000 Received: by fxm13 with SMTP id 13so3564156fxm.14 for ; Wed, 04 Feb 2009 16:01:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=dv+B6hNqdKAhL+AKNTgGf2SLSJWE0B4Fv7GJbBZ6KmQ=; b=oTTSqJQ6OmtjDbmBfbxiiF/HwKlp9sAd81cdyLdUiTfGobbc9Vt9SI+JMNL/jlCPlp CU2VstyAn08hKwJ94XzhPD3rwBCsew3bj4n8DlEJF1fRHcsXkb9KDl9Zkas/5QX+xpv/ OqDbR1G3/sVJKeHol2P/CBEFGoMAVaKg7qtRE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=gEnJ00TFPDLjU/2GvVEpdfyCOtzYhH4FJkFAsyWCf1gmLCkvmvrO/BkgdoZn26Xlu3 fG7zkgMLPO+B6MzIiirQcQ1gm+EdFEJMdIFHpd0yhueJXr+MXl2++dGbGoKim8WmbUnC JCHSf+tU6sNfbx+2RLc7UV29HbS1M77Y7o/Bw= MIME-Version: 1.0 Received: by 10.181.51.14 with SMTP id d14mr20433bkk.63.1233792095825; Wed, 04 Feb 2009 16:01:35 -0800 (PST) In-Reply-To: <5a56ce1b0902030947ge5faf4er54247ecccdd5ecc@mail.gmail.com> References: <7fd310d10812291502w72db90f0ra70d2a1b3ecfa953@mail.gmail.com> <5a56ce1b0901290900v3ce6ac03vab01358bd65f0679@mail.gmail.com> <7fd310d10902030856n6852eafek7a08b5aeb54f0572@mail.gmail.com> <5a56ce1b0902030947ge5faf4er54247ecccdd5ecc@mail.gmail.com> Date: Wed, 4 Feb 2009 18:01:35 -0600 Message-ID: <7fd310d10902041601o742dcc70qcc7bc6df3635f089@mail.gmail.com> Subject: Re: Transactional Send Messages (NMS) From: Bryan Murphy To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Feb 3, 2009 at 11:47 AM, Jim Gomes wrote: > That sounds like a bug. My understanding of how sessions work is if you > have set the AcknowledgementMode.Transactional, none of the messages that > you send to producers created on that session will be visible to any > consumers until the Commit() function is called. At that point, all > messages sent up to that point will now become visible -- an all or nothing > proposition. If this is not working correctly, can you provide some sample > code showing the problem? I refactored our code and the commit/rollback is now working. Thanks for pointing this out! I had mistakenly assumed that AcknowledgementMode.Transactional only worked for consumers (and not producers). It doesn't seem intuitive to me, that you would set something called "AcknowledgementMode" when producing messages. It makes sense when consuming them, yes, I got it, and I'm letting you know. But what do I acknowledge when sending a message? The naming conventions are not as clear as they could be, but at least it's working now! Thanks, Bryan